* 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/rsdproto/flash.c b/board/rsdproto/flash.c
index d90e7db..5ad3218 100644
--- a/board/rsdproto/flash.c
+++ b/board/rsdproto/flash.c
@@ -59,9 +59,9 @@
/* from flash_asm.S */
extern void ull_write(unsigned long long volatile *address,
- unsigned long long volatile *data);
+ unsigned long long volatile *data);
extern void ull_read(unsigned long long volatile *address,
- unsigned long long volatile *data);
+ unsigned long long volatile *data);
/*-----------------------------------------------------------------------
*/
@@ -268,7 +268,7 @@
ull_write(f_addr, &f_command);
printf (" timeout\n");
return 1;
- }
+ }
} while(*f_addr != 0xFFFFFFFFFFFFFFFFULL);
printf (" done\n");
diff --git a/board/rsdproto/u-boot.lds b/board/rsdproto/u-boot.lds
index 7d3886d..bdc75c1 100644
--- a/board/rsdproto/u-boot.lds
+++ b/board/rsdproto/u-boot.lds
@@ -98,6 +98,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 = .;
@@ -120,4 +125,3 @@
_end = . ;
PROVIDE (end = .);
}
-