
On Thu, May 28, 2020 at 3:36 PM Bin Meng bmeng.cn@gmail.com wrote:
On Wed, May 27, 2020 at 8:58 PM Simon Glass sjg@chromium.org wrote:
At present this logic does not work on link and samus, since their SPI controller is not a PCI device, but a child of the PCH.
Unfortunately, fixing this involves a lot of extra logic. Still, this was requested in the review of the fix-up patch, so here it is.
Signed-off-by: Simon Glass sjg@chromium.org Fixes: 92842147c31 ("spi: ich: Add support for get_mmap() method")
Changes in v2:
- Fix a 'BFF' typo
drivers/spi/ich.c | 103 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 88 insertions(+), 15 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com Tested-by: Bin Meng bmeng.cn@gmail.com (on Intel minnowmax)
applied to u-boot-x86, thanks!