[U-Boot] [PATCH v3 1/3] ddr: altera: Compile ALTERA SDRAM in SPL only
Marek Vasut
marex at denx.de
Tue Apr 30 09:42:51 UTC 2019
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.tan at 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
More information about the U-Boot
mailing list