commit | 37ad0feb96ec75f48e7795464c07a5ece726e75c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 20 21:31:47 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Nov 03 07:20:26 2019 +0800 |
tree | 9fb3cf72abed73813d8a9885b59d4a66b7503b1b | |
parent | ec1503cee44d73670a13c7e64c792c08f2c1de3c [diff] |
spi: Add support for memory-mapped flash 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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>