summaryrefslogtreecommitdiff
path: root/board/rsdproto
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /board/rsdproto
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
* 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)
Diffstat (limited to 'board/rsdproto')
-rw-r--r--board/rsdproto/flash.c6
-rw-r--r--board/rsdproto/u-boot.lds6
2 files changed, 8 insertions, 4 deletions
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 @@ static unsigned char write_ull(flash_info_t *info,
/* 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 @@ int flash_erase (flash_info_t *info, int s_first, int s_last)
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 @@ 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 = .;
@@ -120,4 +125,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-