diff options
Diffstat (limited to 'board/esd/du405')
-rw-r--r-- | board/esd/du405/Makefile | 2 | ||||
-rw-r--r-- | board/esd/du405/du405.c | 5 | ||||
-rw-r--r-- | board/esd/du405/u-boot.lds | 5 |
3 files changed, 10 insertions, 2 deletions
diff --git a/board/esd/du405/Makefile b/board/esd/du405/Makefile index 1123673..e6d7dd0 100644 --- a/board/esd/du405/Makefile +++ b/board/esd/du405/Makefile @@ -28,7 +28,7 @@ LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o $(LIB): $(OBJS) $(SOBJS) - $(AR) crv $@ $^ + $(AR) crv $@ $(OBJS) clean: rm -f $(SOBJS) $(OBJS) diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c index 184cda8..7b430ea 100644 --- a/board/esd/du405/du405.c +++ b/board/esd/du405/du405.c @@ -27,7 +27,10 @@ #include <ppc4xx.h> #include <405gp_i2c.h> #include <command.h> -#include <cmd_boot.h> + +/*cmd_boot.c*/ + +extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); /* ------------------------------------------------------------------------- */ diff --git a/board/esd/du405/u-boot.lds b/board/esd/du405/u-boot.lds index 463e388..b1793a2 100644 --- a/board/esd/du405/u-boot.lds +++ b/board/esd/du405/u-boot.lds @@ -119,6 +119,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 = .; |