From: Philipp Tomsich Date: Thu, 20 Apr 2017 20:05:55 +0000 (+0200) Subject: rockchip: spl: rk3399: spi: enable SPL_SPI_LOAD if SPI is enabled for SPL X-Git-Tag: v2017.07-rc1~356^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e75c07ddbf8c6bfa86ec7f29a30f274db435a13;p=u-boot 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 Acked-by: Simon Glass --- diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index b7b89b08a8..49f56f23de 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