diff options
Diffstat (limited to 'board/ep7312')
-rw-r--r-- | board/ep7312/Makefile | 2 | ||||
-rw-r--r-- | board/ep7312/memsetup.S | 2 | ||||
-rw-r--r-- | board/ep7312/u-boot.lds | 24 |
3 files changed, 15 insertions, 13 deletions
diff --git a/board/ep7312/Makefile b/board/ep7312/Makefile index 60b3363..2b4c975 100644 --- a/board/ep7312/Makefile +++ b/board/ep7312/Makefile @@ -30,7 +30,7 @@ OBJS := ep7312.o flash.o SOBJS := memsetup.o $(LIB): $(OBJS) $(SOBJS) - $(AR) crv $@ $^ + $(AR) crv $@ $(OBJS) $(SOBJS) clean: rm -f $(SOBJS) $(OBJS) diff --git a/board/ep7312/memsetup.S b/board/ep7312/memsetup.S index dca1ed4..6078937 100644 --- a/board/ep7312/memsetup.S +++ b/board/ep7312/memsetup.S @@ -21,7 +21,6 @@ */ - #include <config.h> #include <version.h> @@ -94,4 +93,3 @@ memsetup: /* everything is fine now */ mov pc, lr - diff --git a/board/ep7312/u-boot.lds b/board/ep7312/u-boot.lds index 0849648..915e7c4 100644 --- a/board/ep7312/u-boot.lds +++ b/board/ep7312/u-boot.lds @@ -26,28 +26,32 @@ OUTPUT_ARCH(arm) ENTRY(_start) SECTIONS { - . = 0x00000000; + . = 0x00000000; - . = ALIGN(4); + . = ALIGN(4); .text : { cpu/arm720t/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 = .; } |