summaryrefslogtreecommitdiffstats
path: root/board/pm826
diff options
context:
space:
mode:
Diffstat (limited to 'board/pm826')
-rw-r--r--board/pm826/Makefile2
-rw-r--r--board/pm826/u-boot.lds5
2 files changed, 6 insertions, 1 deletions
diff --git a/board/pm826/Makefile b/board/pm826/Makefile
index 35b84288da..7a2014d466 100644
--- a/board/pm826/Makefile
+++ b/board/pm826/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/pm826/u-boot.lds b/board/pm826/u-boot.lds
index 013a8d1949..ce6c4540d0 100644
--- a/board/pm826/u-boot.lds
+++ b/board/pm826/u-boot.lds
@@ -94,6 +94,11 @@ 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 = .;
OpenPOWER on IntegriCloud