On Mon, Oct 21, 2019 at 11:33 AM Simon Glass <s...@chromium.org> wrote:
>
> On x86 platforms the SPI flash can be mapped into memory so that the
> contents can be read with normal memory accesses.
>
> Add a new SPI method to find the location of the SPI flash in memory. This
> differs from the existing device-tree "memory-map" mechanism in that the
> location can be discovered at run-time.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
>
> Changes in v3:
> - Move the get_mmap() method from the SPI_FLASH to the SPI uclass
>
> Changes in v2: None
>
>  drivers/spi/sandbox_spi.c | 11 +++++++++++
>  drivers/spi/spi-uclass.c  | 14 ++++++++++++++
>  include/spi.h             | 27 +++++++++++++++++++++++++++
>  test/dm/sf.c              |  9 +++++++++
>  4 files changed, 61 insertions(+)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to