On Tue, Apr 30, 2019 at 5:45 PM Marek Vasut <ma...@denx.de> wrote: > > On 4/30/19 11:19 AM, Ley Foon Tan wrote: > > Compile ALTERA_SDRAM driver in SPL only. > > Rename ALTERA_SDRAM to SPL_ALTERA_SDRAM. > > > > Signed-off-by: Ley Foon Tan <ley.foon....@intel.com> > > --- > > Makefile | 2 +- > > arch/arm/mach-socfpga/Kconfig | 4 ++-- > > drivers/Makefile | 2 +- > > drivers/ddr/altera/Kconfig | 5 +++-- > > drivers/ddr/altera/Makefile | 2 +- > > include/configs/socfpga_stratix10_socdk.h | 2 +- > > 6 files changed, 9 insertions(+), 8 deletions(-) > > > > [...] > > > diff --git a/include/configs/socfpga_stratix10_socdk.h > > b/include/configs/socfpga_stratix10_socdk.h > > index 31c267f55d..9d1bc8e8d5 100644 > > --- a/include/configs/socfpga_stratix10_socdk.h > > +++ b/include/configs/socfpga_stratix10_socdk.h > > @@ -132,7 +132,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void); > > /* > > * SDRAM controller > > */ > > -#define CONFIG_ALTERA_SDRAM > > +#define CONFIG_SPL_ALTERA_SDRAM > > I think this will trigger a build failure , since the > CONFIG_SPL_ALTERA_SDRAM isn't in config whitelist.txt . > > I guess the easiest way is to update the whitelist here too and then > remove the new config option from it again in 3/3. > Okay, will add CONFIG_SPL_ALTERA_SDRAM to scripts/config_whitelist.txt
Regards Ley Foon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot