aboutsummaryrefslogtreecommitdiffstats
path: root/board/oxc
diff options
context:
space:
mode:
Diffstat (limited to 'board/oxc')
-rw-r--r--board/oxc/Makefile2
-rw-r--r--board/oxc/u-boot.lds6
2 files changed, 6 insertions, 2 deletions
diff --git a/board/oxc/Makefile b/board/oxc/Makefile
index 8639e17dac..ae7a932084 100644
--- a/board/oxc/Makefile
+++ b/board/oxc/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/oxc/u-boot.lds b/board/oxc/u-boot.lds
index 0e0b0e6761..db89a78fd0 100644
--- a/board/oxc/u-boot.lds
+++ b/board/oxc/u-boot.lds
@@ -100,6 +100,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 = .;
@@ -123,4 +128,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-