spl: Kconfig: Enable SPI_FLASH_TINY by default for SPL
authorVignesh R <vigneshr@ti.com>
Tue, 5 Feb 2019 05:59:26 +0000 (11:29 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 7 Feb 2019 10:03:21 +0000 (15:33 +0530)
commit72875978709f22409288b5afeccc15be9b9307b3
treed840fc01035b68b26d72d723dd6656f588eb98d8
parent778572d7cb1e2df678340fda9b081e4f7bd6c4b3
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: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
common/spl/Kconfig