summaryrefslogtreecommitdiff
path: root/board/sl8245
diff options
context:
space:
mode:
Diffstat (limited to 'board/sl8245')
-rw-r--r--board/sl8245/Makefile2
-rw-r--r--board/sl8245/u-boot.lds4
2 files changed, 5 insertions, 1 deletions
diff --git a/board/sl8245/Makefile b/board/sl8245/Makefile
index da60318..6d11240 100644
--- a/board/sl8245/Makefile
+++ b/board/sl8245/Makefile
@@ -28,7 +28,7 @@ LIB = lib$(BOARD).a
OBJS = $(BOARD).o flash.o
$(LIB): .depend $(OBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
#########################################################################
diff --git a/board/sl8245/u-boot.lds b/board/sl8245/u-boot.lds
index 627a53b..e0d0b17 100644
--- a/board/sl8245/u-boot.lds
+++ b/board/sl8245/u-boot.lds
@@ -102,6 +102,10 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
+ __u_boot_cmd_start = .;
+ .u_boot_cmd : { *(.u_boot_cmd) }
+ __u_boot_cmd_end = .;
+
__start___ex_table = .;
__ex_table : { *(__ex_table) }
__stop___ex_table = .;