From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 31 Mar 2017 22:23:37 -0600 Subject: [U-Boot] [PATCH v2 6/6] rockchip: spl: rk3399: enable SPL_SPI_LOAD if SPI is enabled for SPL In-Reply-To: <1490787091-21008-7-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1490787091-21008-1-git-send-email-philipp.tomsich@theobroma-systems.com> <1490787091-21008-7-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 29 March 2017 at 05:31, Philipp Tomsich wrote: > 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 > > --- > > Changes in v2: None > > include/configs/rk3399_common.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h > index db3125e..629318f 100644 > --- a/include/configs/rk3399_common.h > +++ b/include/configs/rk3399_common.h > @@ -20,6 +20,9 @@ > #define CONFIG_SPL_LIBCOMMON_SUPPORT > #define CONFIG_SPL_LIBGENERIC_SUPPORT > #define CONFIG_SPL_SERIAL_SUPPORT > +#if defined(CONFIG_SPL_SPI_SUPPORT) > +#define CONFIG_SPL_SPI_LOAD > +#endif > > #define COUNTER_FREQUENCY 24000000 This has all moved to Kconfig now - can you tidy this up and do this there? Regards, Simon