diff options
| author | Simon Glass <sjg@chromium.org> | 2013-03-11 06:08:08 +0000 | 
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2013-03-19 08:45:37 -0700 | 
| commit | bb8215f437a7c948eec82a6abe754c226978bd6d (patch) | |
| tree | 8e03252d3317225986dee7d9e58ee4dd32123d9f /include/spi_flash.h | |
| parent | 5e6fb69778fa41e685add00b73ed5f22c7a96166 (diff) | |
| download | olio-uboot-2014.01-bb8215f437a7c948eec82a6abe754c226978bd6d.tar.xz olio-uboot-2014.01-bb8215f437a7c948eec82a6abe754c226978bd6d.zip | |
sf: Enable FDT-based configuration and memory mapping
Enable device tree control of SPI flash, and use this to implement
memory-mapped SPI flash, which is supported on Intel chips.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/spi_flash.h')
| -rw-r--r-- | include/spi_flash.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/include/spi_flash.h b/include/spi_flash.h index 030d49cb7..3b6a44edc 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -39,6 +39,7 @@ struct spi_flash {  	/* Erase (sector) size */  	u32		sector_size; +	void *memory_map;	/* Address of read-only SPI flash access */  	int		(*read)(struct spi_flash *flash, u32 offset,  				size_t len, void *buf);  	int		(*write)(struct spi_flash *flash, u32 offset, |