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. -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot