* 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)
diff --git a/board/musenki/Makefile b/board/musenki/Makefile
index 2613292..24dc026 100644
--- a/board/musenki/Makefile
+++ b/board/musenki/Makefile
@@ -29,7 +29,7 @@
SOBJS =
$(LIB): .depend $(OBJS) $(SOBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
#########################################################################
diff --git a/board/musenki/README b/board/musenki/README
index 4a1955d..135a01a 100644
--- a/board/musenki/README
+++ b/board/musenki/README
@@ -68,12 +68,11 @@
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 @@
=>
-
x.x.x Flash Programming
@@ -298,4 +296,3 @@
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 1e8bfff..cd33d8e 100644
--- a/board/musenki/flash.c
+++ b/board/musenki/flash.c
@@ -56,7 +56,6 @@
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 cf23407..9d949b5 100644
--- a/board/musenki/u-boot.lds
+++ b/board/musenki/u-boot.lds
@@ -103,6 +103,11 @@
_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 @@
_end = . ;
PROVIDE (end = .);
}
-