spi: ich: Add support for get_mmap() method
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:47 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:23 +0000 (11:44 +0800)
commit92842147c3113e83462fcad00fa5cd343c4b945e
tree63c6e4f307a3a0b8ae089493d98b278890a8e854
parent1facebd18fd7369e7629bce1d4fe78d5432fd773
spi: ich: Add support for get_mmap() method

Add this method so that the memory-mapped location of the SPI flash can
be queried.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/spi/ich.c