From 8bde7f776c77b343aca29b8c7b58464d915ac245 Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 27 Jun 2003 21:31:46 +0000 Subject: * Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen) --- board/nx823/Makefile | 2 +- board/nx823/flash.c | 1 - board/nx823/nx823.c | 1 - board/nx823/u-boot.lds | 6 +++++- board/nx823/u-boot.lds.debug | 6 +++++- 5 files changed, 11 insertions(+), 5 deletions(-) (limited to 'board/nx823') diff --git a/board/nx823/Makefile b/board/nx823/Makefile index 35b84288d..7a2014d46 100644 --- a/board/nx823/Makefile +++ b/board/nx823/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/nx823/flash.c b/board/nx823/flash.c index 05ec68792..581925e48 100644 --- a/board/nx823/flash.c +++ b/board/nx823/flash.c @@ -462,4 +462,3 @@ static int write_data (flash_info_t *info, ulong dest, FPW data) return (0); } - diff --git a/board/nx823/nx823.c b/board/nx823/nx823.c index 35cc9b07f..07d173b39 100644 --- a/board/nx823/nx823.c +++ b/board/nx823/nx823.c @@ -482,4 +482,3 @@ void load_sernum_ethaddr (void) bd->bi_enetaddr[4] = bd->bi_sernum[5]; bd->bi_enetaddr[5] = bd->bi_sernum[6]; } - diff --git a/board/nx823/u-boot.lds b/board/nx823/u-boot.lds index 7128155f8..526198cc5 100644 --- a/board/nx823/u-boot.lds +++ b/board/nx823/u-boot.lds @@ -99,6 +99,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 = .; @@ -121,4 +126,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - diff --git a/board/nx823/u-boot.lds.debug b/board/nx823/u-boot.lds.debug index 8dc6d408c..f6f7cf4fa 100644 --- a/board/nx823/u-boot.lds.debug +++ b/board/nx823/u-boot.lds.debug @@ -106,6 +106,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 = .; @@ -128,4 +133,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - -- cgit v1.2.3