Skip to contentSkip to conversation

ARM: atmel: sama5d4 boards: fix spl lds location

PATCH New Bo Shen 2 participants 4 messages Mar 4, 2015 – Mar 18, 2015

Subsystems (3)
lore
Share & tools
lore

Bo Shen

author
#0 lore raw

PATCH 1/2 ARM: atmel: sama5d4 boards: fix spl lds location

As the u-boot-spl.lds is moved to <arch/arm/mach-at91> directory. So, correct the path for sama5d4 related boards.

---

 include/configs/sama5d4_xplained.h | 2 +-
 include/configs/sama5d4ek.h        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/sama5d4_xplained.h +1 -1
index 6493d56..349f1bc 100644
@@ -246,7 +246,7 @@
 #define CONFIG_SYS_MONITOR_LEN		(512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT		arch/arm/cpu/at91-common/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
include/configs/sama5d4ek.h +1 -1
index 9e1b86a..4a16b8e 100644
@@ -244,7 +244,7 @@
 #define CONFIG_SYS_MONITOR_LEN		(512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT		arch/arm/cpu/at91-common/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
Signature · 1 line
2.3.0
author
#1 lore raw

PATCH 2/2 ARM: atmel: armv7: move spl lds to armv7 directory

As the u-boot-spl.lds is used only for armv7 SoCs (includes sama5d3 and sama5d4), so move it to armv7 directory.

---

 arch/arm/mach-at91/{ => armv7}/u-boot-spl.lds | 0
 include/configs/sama5d3_xplained.h            | 2 +-
 include/configs/sama5d3xek.h                  | 2 +-
 include/configs/sama5d4_xplained.h            | 2 +-
 include/configs/sama5d4ek.h                   | 2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename arch/arm/mach-at91/{ => armv7}/u-boot-spl.lds (100%)
arch/arm/mach-at91/armv7/u-boot-spl.lds renamed from arch/arm/mach-at91/u-boot-spl.lds +0 -0
similarity index 100%
rename from arch/arm/mach-at91/u-boot-spl.lds
rename to arch/arm/mach-at91/armv7/u-boot-spl.lds
include/configs/sama5d3_xplained.h +1 -1
index 5dab61d..c82728e 100644
@@ -227,7 +227,7 @@
 #define CONFIG_SYS_MONITOR_LEN		(512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
include/configs/sama5d3xek.h +1 -1
index bd288be..a99b559 100644
@@ -274,7 +274,7 @@
 #define CONFIG_SYS_MONITOR_LEN		(512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
include/configs/sama5d4_xplained.h +1 -1
index 349f1bc..4cb0761 100644
@@ -246,7 +246,7 @@
 #define CONFIG_SYS_MONITOR_LEN		(512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
include/configs/sama5d4ek.h +1 -1
index 4a16b8e..897d481 100644
@@ -244,7 +244,7 @@
 #define CONFIG_SYS_MONITOR_LEN		(512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
Signature · 1 line
2.3.0
#2 lore raw

PATCH 2/2 ARM: atmel: armv7: move spl lds to armv7 directory

Dear Bo Shen,

Quoted 6 lines · Bo Shen

As the u-boot-spl.lds is used only for armv7 SoCs (includes sama5d3 and sama5d4), so move it to armv7 directory.

---

Quoted 7 lines
arch/arm/mach-at91/{ => armv7}/u-boot-spl.lds | 0
include/configs/sama5d3_xplained.h            | 2 +-
include/configs/sama5d3xek.h                  | 2 +-
include/configs/sama5d4_xplained.h            | 2 +-
include/configs/sama5d4ek.h                   | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)

rename arch/arm/mach-at91/{ => armv7}/u-boot-spl.lds (100%)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann

#3 lore raw

PATCH 1/2 ARM: atmel: sama5d4 boards: fix spl lds location

In reply to Bo Shen

Dear Bo Shen,

Quoted 9 lines · Bo Shen

As the u-boot-spl.lds is moved to <arch/arm/mach-at91> directory. So, correct the path for sama5d4 related boards.

---

include/configs/sama5d4_xplained.h | 2 +-
include/configs/sama5d4ek.h | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann