From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sat, 2 Nov 2019 17:42:22 +0800 Subject: [U-Boot] [PATCH v3 014/108] spi: Add support for memory-mapped flash In-Reply-To: References: <20191021033322.217715-2-sjg@chromium.org> <20191021033322.217715-15-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Nov 2, 2019 at 12:13 PM Bin Meng wrote: > > On Mon, Oct 21, 2019 at 11:33 AM Simon Glass 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 > > --- > > > > 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 applied to u-boot-x86, thanks!