[PATCH] socfpga: Remove incorrect CONFIG_SPL_LDSCRIPT settings
Chee, Tien Fong
tienfong.chee at altera.com
Tue Feb 10 05:00:59 CET 2026
On 6/2/2026 6:16 am, Tom Rini wrote:
> [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
>
> These platforms set CONFIG_SPL_LDSCRIPT to a file that doesn't exist,
> and in turn were using the default of arch/arm/cpu/armv8/u-boot-spl.lds
> instead.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Marek Vasut <marex at denx.de>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> Cc: Tien Fong Chee <tien.fong.chee at altera.com>
> Cc: Lim Siew Chin <elly.siew.chin.lim at intel.com>
> Cc: Chin-Liang See <chin.liang.see at intel.com>
> Cc: Dinh Nguyen <dinh.nguyen at intel.com>
> ---
> configs/socfpga_agilex7m_defconfig | 1 -
> configs/socfpga_n5x_atf_defconfig | 1 -
> configs/socfpga_n5x_vab_defconfig | 1 -
> configs/socfpga_stratix10_atf_defconfig | 1 -
> 4 files changed, 4 deletions(-)
>
> diff --git a/configs/socfpga_agilex7m_defconfig b/configs/socfpga_agilex7m_defconfig
> index 0a8c58234b95..d3ecca436efd 100644
> --- a/configs/socfpga_agilex7m_defconfig
> +++ b/configs/socfpga_agilex7m_defconfig
> @@ -1,7 +1,6 @@
> #include <configs/socfpga_agilex_defconfig>
>
> CONFIG_NR_DRAM_BANKS=1
> -CONFIG_SPL_LDSCRIPT="arch/arm/mach-socfpga/u-boot-spl-soc64.lds"
> # CONFIG_TARGET_SOCFPGA_AGILEX_SOCDK is not set
> # CONFIG_IDENT_STRING is not set
> CONFIG_SPL_BSS_START_ADDR=0x1ff00000
> diff --git a/configs/socfpga_n5x_atf_defconfig b/configs/socfpga_n5x_atf_defconfig
> index 1ef20ba97a84..bb8f1eb7264e 100644
> --- a/configs/socfpga_n5x_atf_defconfig
> +++ b/configs/socfpga_n5x_atf_defconfig
> @@ -4,7 +4,6 @@ CONFIG_ARCH_SOCFPGA=y
> CONFIG_TEXT_BASE=0x200000
> CONFIG_SYS_MALLOC_LEN=0x500000
> CONFIG_NR_DRAM_BANKS=2
> -CONFIG_SPL_LDSCRIPT="arch/arm/mach-socfpga/u-boot-spl-soc64.lds"
> CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000
> CONFIG_SF_DEFAULT_MODE=0x2003
> diff --git a/configs/socfpga_n5x_vab_defconfig b/configs/socfpga_n5x_vab_defconfig
> index a4798e2f953d..78fe42e107c7 100644
> --- a/configs/socfpga_n5x_vab_defconfig
> +++ b/configs/socfpga_n5x_vab_defconfig
> @@ -4,7 +4,6 @@ CONFIG_ARCH_SOCFPGA=y
> CONFIG_TEXT_BASE=0x200000
> CONFIG_SYS_MALLOC_LEN=0x500000
> CONFIG_NR_DRAM_BANKS=2
> -CONFIG_SPL_LDSCRIPT="arch/arm/mach-socfpga/u-boot-spl-soc64.lds"
> CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000
> CONFIG_SF_DEFAULT_MODE=0x2003
> diff --git a/configs/socfpga_stratix10_atf_defconfig b/configs/socfpga_stratix10_atf_defconfig
> index 63ea467baefe..206343885d96 100644
> --- a/configs/socfpga_stratix10_atf_defconfig
> +++ b/configs/socfpga_stratix10_atf_defconfig
> @@ -4,7 +4,6 @@ CONFIG_ARCH_SOCFPGA=y
> CONFIG_TEXT_BASE=0x200000
> CONFIG_SYS_MALLOC_LEN=0x500000
> CONFIG_NR_DRAM_BANKS=2
> -CONFIG_SPL_LDSCRIPT="arch/arm/mach-socfpga/u-boot-spl-soc64.lds"
> CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x300000
> CONFIG_SF_DEFAULT_MODE=0x2003
> --
> 2.43.0
Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>
Best regards,
Tien Fong
More information about the U-Boot
mailing list