summaryrefslogtreecommitdiff
path: root/common/spl/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r--common/spl/Kconfig11
1 files changed, 10 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 138537b4ce..983acca85d 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -739,9 +739,18 @@ config SPL_SPI_FLASH_SUPPORT
if SPL_SPI_FLASH_SUPPORT
+config SPL_SPI_FLASH_TINY
+ bool "Enable low footprint SPL SPI Flash support"
+ depends on !SPI_FLASH_BAR
+ help
+ Enable lightweight SPL SPI Flash support that supports just reading
+ data/images from flash. No support to write/erase flash. Enable
+ this if you have SPL size limitations and don't need full
+ fledged SPI flash support.
+
config SPL_SPI_FLASH_SFDP_SUPPORT
bool "SFDP table parsing support for SPI NOR flashes"
- depends on !SPI_FLASH_BAR
+ depends on !SPI_FLASH_BAR && !SPL_SPI_FLASH_TINY
help
Enable support for parsing and auto discovery of parameters for
SPI NOR flashes using Serial Flash Discoverable Parameters (SFDP)