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/musenki/Makefile | 2 +- board/musenki/README | 5 +---- board/musenki/flash.c | 1 - board/musenki/u-boot.lds | 6 +++++- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'board/musenki') diff --git a/board/musenki/Makefile b/board/musenki/Makefile index 2613292f49..24dc0264f3 100644 --- a/board/musenki/Makefile +++ b/board/musenki/Makefile @@ -29,7 +29,7 @@ OBJS = $(BOARD).o flash.o SOBJS = $(LIB): .depend $(OBJS) $(SOBJS) - $(AR) crv $@ $^ + $(AR) crv $@ $(OBJS) ######################################################################### diff --git a/board/musenki/README b/board/musenki/README index 4a1955dc38..135a01aa0b 100644 --- a/board/musenki/README +++ b/board/musenki/README @@ -68,12 +68,11 @@ run - run commands in an environment variable saveenv - save environment variables to persistent storage setenv - set environment variables tftpboot- boot image via network using TFTP protocol - and env variables ipaddr and serverip + and env variables ipaddr and serverip version - print monitor version ? - alias for 'help' - x.x.x CONFIG_CONS_INDEX 2 **** NOT TESTED **** @@ -167,7 +166,6 @@ Bank # 2: missing or unknown FLASH type => - x.x.x Flash Programming @@ -298,4 +296,3 @@ Hit any key to exit ... x.x Image download and run over ethernet interface untested (not working yet, actually) - diff --git a/board/musenki/flash.c b/board/musenki/flash.c index 1e8bfff8c6..cd33d8ed33 100644 --- a/board/musenki/flash.c +++ b/board/musenki/flash.c @@ -56,7 +56,6 @@ static int write_data (flash_info_t *info, uchar *dest, uchar data); static void flash_get_offsets (ulong base, flash_info_t *info); - /* * don't ask. its stupid, but more than one soul has had to live with this mistake * "swaptab[i]" is the value of "i" with the bits reversed. diff --git a/board/musenki/u-boot.lds b/board/musenki/u-boot.lds index cf23407cad..9d949b5def 100644 --- a/board/musenki/u-boot.lds +++ b/board/musenki/u-boot.lds @@ -103,6 +103,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 = .; @@ -126,4 +131,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - -- cgit v1.2.1