[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:44:43 CEST 2020


On Thu, May 28, 2020 at 3:36 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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)

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list