mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
rockchip: spl: rk3399: spi: enable SPL_SPI_LOAD if SPI is enabled for SPL
To include the ability to load from an SPI flash in SPL, it's not sufficient to define SPL_SPI_SUPPORT and SPL_SPI_FLASH_SUPPORT via Kconfig... so we conditionally define SPL_SPI_LOAD if SPI support is already enabled for SPL via Kconfig. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
cdeb4d780a
commit
3e75c07ddb
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
|||
#define CONFIG_SPL_FRAMEWORK
|
||||
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
|
||||
#define CONFIG_SPL_SERIAL_SUPPORT
|
||||
#if defined(CONFIG_SPL_SPI_SUPPORT)
|
||||
#define CONFIG_SPL_SPI_LOAD
|
||||
#endif
|
||||
|
||||
#define COUNTER_FREQUENCY 24000000
|
||||
|
||||
|
|
Loading…
Reference in a new issue