[PATCH v2 2/4] x86: spi: Rewrite logic for obtaining the SPI memory map

Bin Meng bmeng.cn at gmail.com
Thu May 28 09:36:11 CEST 2020


On Wed, May 27, 2020 at 8:58 PM Simon Glass <sjg at 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 at 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 at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com> (on Intel minnowmax)


More information about the U-Boot mailing list