summaryrefslogtreecommitdiffstats
path: root/board/smdk2400
diff options
context:
space:
mode:
Diffstat (limited to 'board/smdk2400')
-rw-r--r--board/smdk2400/Makefile2
-rw-r--r--board/smdk2400/memsetup.S2
-rw-r--r--board/smdk2400/u-boot.lds25
3 files changed, 16 insertions, 13 deletions
diff --git a/board/smdk2400/Makefile b/board/smdk2400/Makefile
index 6dbd4e7c50..367eabddbf 100644
--- a/board/smdk2400/Makefile
+++ b/board/smdk2400/Makefile
@@ -29,7 +29,7 @@ OBJS := smdk2400.o flash.o
SOBJS := memsetup.o
$(LIB): $(OBJS) $(SOBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS) $(SOBJS)
clean:
rm -f $(SOBJS) $(OBJS)
diff --git a/board/smdk2400/memsetup.S b/board/smdk2400/memsetup.S
index b53e996f25..b507d81259 100644
--- a/board/smdk2400/memsetup.S
+++ b/board/smdk2400/memsetup.S
@@ -28,7 +28,6 @@
*/
-
#include <config.h>
#include <version.h>
@@ -162,4 +161,3 @@ SMRDATA:
.word 0x10 /* BUSWIDTH=32, SCLK power saving mode, BANKSIZE 32M/32M */
.word 0x30 /* MRSR6, CL=3clk */
.word 0x30 /* MRSR7 */
-
diff --git a/board/smdk2400/u-boot.lds b/board/smdk2400/u-boot.lds
index 8c9c218cca..af3cd19a39 100644
--- a/board/smdk2400/u-boot.lds
+++ b/board/smdk2400/u-boot.lds
@@ -27,28 +27,33 @@ OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
- . = 0x00000000;
+ . = 0x00000000;
- . = ALIGN(4);
+ . = ALIGN(4);
.text :
{
cpu/arm920t/start.o (.text)
*(.text)
}
- . = ALIGN(4);
- .rodata : { *(.rodata) }
+ . = ALIGN(4);
+ .rodata : { *(.rodata) }
- . = ALIGN(4);
- .data : { *(.data) }
+ . = ALIGN(4);
+ .data : { *(.data) }
- . = ALIGN(4);
- .got : { *(.got) }
+ . = ALIGN(4);
+ .got : { *(.got) }
+
+ __u_boot_cmd_start = .;
+ .u_boot_cmd : { *(.u_boot_cmd) }
+ __u_boot_cmd_end = .;
armboot_end_data = .;
- . = ALIGN(4);
- .bss : { *(.bss) }
+ . = ALIGN(4);
+ .bss : { *(.bss) }
armboot_end = .;
+
}
OpenPOWER on IntegriCloud