diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-04-20 20:05:55 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 19:37:21 (GMT) |
commit | 3e75c07ddbf8c6bfa86ec7f29a30f274db435a13 (patch) | |
tree | d85c829d045ab4f402ddce26a8bd284ec11cfd6b | |
parent | cdeb4d780aacacb03d06f616fb34323a6c719268 (diff) | |
download | u-boot-fsl-qoriq-3e75c07ddbf8c6bfa86ec7f29a30f274db435a13.tar.xz |
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>
-rw-r--r-- | include/configs/rk3399_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index b7b89b0..49f56f2 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -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 |