Skip to contentSkip to conversation

socfpga: Remove incorrect CONFIG_SPL_LDSCRIPT settings

PATCH In review Tom Rini 2 participants 2 messages Feb 5 – Feb 10

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 socfpga: Remove incorrect CONFIG_SPL_LDSCRIPT settings

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.

---
Cc: Marek Vasut <[email protected]>
Cc: Simon Goldschmidt <[email protected]>
Cc: Tien Fong Chee <[email protected]>
Cc: Lim Siew Chin <[email protected]>
Cc: Chin-Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>

---
 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(-)
configs/socfpga_agilex7m_defconfig +0 -1
index 0a8c58234b95..d3ecca436efd 100644
@@ -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
configs/socfpga_n5x_atf_defconfig +0 -1
index 1ef20ba97a84..bb8f1eb7264e 100644
@@ -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
configs/socfpga_n5x_vab_defconfig +0 -1
index a4798e2f953d..78fe42e107c7 100644
@@ -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
configs/socfpga_stratix10_atf_defconfig +0 -1
index 63ea467baefe..206343885d96 100644
@@ -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
Signature · 1 line
2.43.0
Reviewed-by Tien Fong Chee on v1 1/1
#1 lore raw
Quoted 70 lines · Tom Rini

[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.

---
Cc: Marek Vasut <[email protected]>
Cc: Simon Goldschmidt <[email protected]>
Cc: Tien Fong Chee <[email protected]>
Cc: Lim Siew Chin <[email protected]>
Cc: Chin-Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>

---
  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(-)
configs/socfpga_agilex7m_defconfig +0 -1
index 0a8c58234b95..d3ecca436efd 100644
@@ -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
configs/socfpga_n5x_atf_defconfig +0 -1
index 1ef20ba97a84..bb8f1eb7264e 100644
@@ -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
configs/socfpga_n5x_vab_defconfig +0 -1
index a4798e2f953d..78fe42e107c7 100644
@@ -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
configs/socfpga_stratix10_atf_defconfig +0 -2
index 63ea467baefe..206343885d96 100644
@@ -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
--
Quoted 1 line

2.43.0

Best regards,
Tien Fong