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 da60318d7f..6d11240432 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 627a53b3b6..e0d0b17634 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 = .;