Skip to contentSkip to conversation

ppc4xx: Add common ppc4xx linker script

PATCH New Stefan Roese 1 participant 1 message Oct 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 ppc4xx: Add common ppc4xx linker script

This linker script can be used by all PPC4xx platforms. It works for PPC405 and PPC440 platforms. Boards which need a board specific linker script can override this default linker script in board/*/config.mk.

---
 cpu/ppc4xx/config.mk  |    3 +
 cpu/ppc4xx/u-boot.lds |  169 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 172 insertions(+), 0 deletions(-)
 create mode 100644 cpu/ppc4xx/u-boot.lds
cpu/ppc4xx/config.mk +3 -0
index 00ad39b..979004b 100644
@@ -32,3 +32,6 @@ PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
 else
 PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405
 endif
+
+# Use default linker script.  Board port can override in board/*/config.mk
+LDSCRIPT := $(SRCTREE)/cpu/ppc4xx/u-boot.lds
cpu/ppc4xx/u-boot.lds new file +169 -0

169 lines not on this page · raw message

Signature · 1 line
1.6.5.1