aboutsummaryrefslogtreecommitdiff
path: root/common/spl/Kconfig
diff options
context:
space:
mode:
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>2019-08-22 15:41:46 +0200
committerTom Rini <trini@konsulko.com>2019-08-25 20:59:00 -0400
commit1ee774d20914fb89ad1b236aedb4178912f77c77 (patch)
tree2b8afde3d7a06a3778bd24cf4243dd0856a07add /common/spl/Kconfig
parentf8584bbe729ff75d19196b7ebbc97fe4f7850016 (diff)
downloadu-boot-1ee774d20914fb89ad1b236aedb4178912f77c77.zip
u-boot-1ee774d20914fb89ad1b236aedb4178912f77c77.tar.gz
u-boot-1ee774d20914fb89ad1b236aedb4178912f77c77.tar.bz2
Convert CONFIG_SYS_SPI_U_BOOT_OFFS to Kconfig
This converts the following to Kconfig: CONFIG_SYS_SPI_U_BOOT_OFFS Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com> [trini: Expose this for SPL_SPI_SUNXI for now] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r--common/spl/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 660aa66..94dcdff 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1002,6 +1002,14 @@ config SPL_SPI_LOAD
endif # SPL_SPI_FLASH_SUPPORT
+config SYS_SPI_U_BOOT_OFFS
+ hex "address of u-boot payload in SPI flash"
+ default 0x0
+ depends on SPL_SPI_LOAD || SPL_SPI_SUNXI
+ help
+ Address within SPI-Flash from where the u-boot payload is fetched
+ from.
+
config SPL_SPI_SUPPORT
bool "Support SPI drivers"
help