提交 72875978 编写于 作者: V Vignesh R 提交者: Jagan Teki

spl: Kconfig: Enable SPI_FLASH_TINY by default for SPL

SPL only needs to be able to read from SPI Flash to load next stage and
does not really need write/erase etc. Therefore in order to reduce SPI
Flash code size in SPL, enable SPI_FLASH_TINY, that only supports
reading from SPI flash, as default.

Note: Since, SPI_FLASH_TINY does not support SPI_FLASH_BAR,
SPI_FLASH_TINY is not enabled for boards with SPI controllers that
cannot support 4 byte addressing.
Signed-off-by: NVignesh R <vigneshr@ti.com>
Reviewed-by: NJagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
上级 778572d7
...@@ -742,6 +742,7 @@ if SPL_SPI_FLASH_SUPPORT ...@@ -742,6 +742,7 @@ if SPL_SPI_FLASH_SUPPORT
config SPL_SPI_FLASH_TINY config SPL_SPI_FLASH_TINY
bool "Enable low footprint SPL SPI Flash support" bool "Enable low footprint SPL SPI Flash support"
depends on !SPI_FLASH_BAR depends on !SPI_FLASH_BAR
default y if SPI_FLASH
help help
Enable lightweight SPL SPI Flash support that supports just reading Enable lightweight SPL SPI Flash support that supports just reading
data/images from flash. No support to write/erase flash. Enable data/images from flash. No support to write/erase flash. Enable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册