ppc4xx: Fix NAND SPL linker scripts
PATCH 1/1 ppc4xx: Fix NAND SPL linker scripts
Without this patch, the resulting NAND SPL image (nand_spl/u-boot-spl) will be empty. We need to "keep" the resetvec with the new compiler/ linker options (--gc-sections and -ffunction-sections -fdata-sections).
Signed-off-by Stefan Roese <[email protected]>
--- nand_spl/board/amcc/acadia/u-boot.lds | 2 +- nand_spl/board/amcc/bamboo/u-boot.lds | 2 +- nand_spl/board/amcc/canyonlands/u-boot.lds | 2 +- nand_spl/board/amcc/kilauea/u-boot.lds | 2 +- nand_spl/board/amcc/sequoia/u-boot.lds | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-)
nand_spl/board/amcc/acadia/u-boot.lds +1 -1
@@ -26,7 +26,7 @@ SECTIONS { .resetvec 0xf8004ffc : { - *(.resetvec) + KEEP(*(.resetvec)) } = 0xffff .text :
nand_spl/board/amcc/bamboo/u-boot.lds +1 -1
@@ -26,7 +26,7 @@ SECTIONS { .resetvec 0x00800FFC : { - *(.resetvec) + KEEP(*(.resetvec)) } = 0xffff .text :
nand_spl/board/amcc/canyonlands/u-boot.lds +1 -1
@@ -26,7 +26,7 @@ SECTIONS { .resetvec 0xE3003FFC : { - *(.resetvec) + KEEP(*(.resetvec)) } = 0xffff .text :
nand_spl/board/amcc/kilauea/u-boot.lds +1 -1
@@ -26,7 +26,7 @@ SECTIONS { .resetvec 0x00800FFC : { - *(.resetvec) + KEEP(*(.resetvec)) } = 0xffff .text :
nand_spl/board/amcc/sequoia/u-boot.lds +2 -2
@@ -1,5 +1,5 @@ /* - * (C) Copyright 2006 + * (C) Copyright 2006-2010 * Stefan Roese, DENX Software Engineering, sr at denx.de. * * See file CREDITS for list of people who contributed to this
@@ -26,7 +26,7 @@ SECTIONS { .resetvec 0xE0013FFC : { - *(.resetvec) + KEEP(*(.resetvec)) } = 0xffff .text :
Signature · 1 line
1.7.3.2