diff options
author | Hannes Schmelzer <hannes.schmelzer@br-automation.com> | 2019-08-22 15:41:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-25 20:59:00 -0400 |
commit | 1ee774d20914fb89ad1b236aedb4178912f77c77 (patch) | |
tree | 2b8afde3d7a06a3778bd24cf4243dd0856a07add /common/spl | |
parent | f8584bbe729ff75d19196b7ebbc97fe4f7850016 (diff) |
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')
-rw-r--r-- | common/spl/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 660aa66d84..94dcdff806 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 |