ppc4xx: Add common ppc4xx linker script
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.
Signed-off-by Stefan Roese <[email protected]>
--- 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
@@ -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