aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini2017-08-26 15:10:49 -0400
committerTom Rini2017-08-26 15:10:49 -0400
commitbd95e655b2a42a2c8fe649ffae3dfec27eab5759 (patch)
tree8893a53fb5b4ca251f467d7a6051757f1370ee81
parentf72b96ec8f7a7b2e2952333c00d907cf0fd726a3 (diff)
parentf40ad66fa066c7eacbcbb11c2e2f251bb82426e0 (diff)
Merge git://git.denx.de/u-boot-sh
-rw-r--r--arch/sh/cpu/u-boot.lds9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index 7fc91bc4aaa..2f2bdb5b83e 100644
--- a/arch/sh/cpu/u-boot.lds
+++ b/arch/sh/cpu/u-boot.lds
@@ -9,7 +9,12 @@
#include "config.h"
+#ifdef CONFIG_SYS_BIG_ENDIAN
+OUTPUT_FORMAT("elf32-shbig-linux", "elf32-shbig-linux", "elf32-sh-linux")
+#else
OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
+#endif
+
OUTPUT_ARCH(sh)
MEMORY
@@ -33,10 +38,6 @@ SECTIONS
KEEP(CONFIG_BOARDDIR/lowlevel_init.o (.text .spiboot1.text))
KEEP(*(.spiboot2.text))
. = ALIGN(8192);
- env/embedded.o (.ppcenv)
- . = ALIGN(8192);
- env/embedded.o (.ppcenvr)
- . = ALIGN(8192);
*(.text)
. = ALIGN(4);
} >ram =0xFF