diff options
author | wdenk | 2003-10-14 19:43:55 +0000 |
---|---|---|
committer | wdenk | 2003-10-14 19:43:55 +0000 |
commit | 2d5b561e2bfdee8552a99b2cf93016cce2a74895 (patch) | |
tree | 33a47c8393624e338d0cc8914c773ab9613cb385 /board/evb64260/flash.c | |
parent | f72da3406bf6f1c1bce9aa03b07d070413a916af (diff) |
* Make sure HUSH is initialized for running auto-update scripts
* Make 5200 reset command _really_ reset the board, without running
any other code after it
* Fix flash mapping and display on P3G4 board
* Patch by Kyle Harris, 15 Jul 2003:
- add support for Intel IXP425 CPU
- add support for IXDP425 eval board
Diffstat (limited to 'board/evb64260/flash.c')
-rw-r--r-- | board/evb64260/flash.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/board/evb64260/flash.c b/board/evb64260/flash.c index e6cf8eb6b36..bc52c127864 100644 --- a/board/evb64260/flash.c +++ b/board/evb64260/flash.c @@ -79,7 +79,11 @@ flash_init (void) size_b0 = flash_get_size(CFG_BOOT_FLASH_WIDTH, (vu_long *)base, &flash_info[0]); - printf("[%ldkB@%lx] ", size_b0/1024, base); +#ifndef CONFIG_P3G4 + printf("["); + print_size (size_b0, ""); + printf("@%08lX] ", base); +#endif if (flash_info[0].flash_id == FLASH_UNKNOWN) { printf ("## Unknown FLASH at %08lx: Size = 0x%08lx = %ld MB\n", @@ -90,7 +94,11 @@ flash_init (void) for(i=1;i<CFG_MAX_FLASH_BANKS;i++) { unsigned long size = flash_get_size(CFG_EXTRA_FLASH_WIDTH, (vu_long *)base, &flash_info[i]); - printf("[%ldMB@%lx] ", size>>20, base); +#ifndef CONFIG_P3G4 + printf("["); + print_size (size, ""); + printf("@%08lX] ", size>>20, base); +#endif if (flash_info[i].flash_id == FLASH_UNKNOWN) { if(i==1) { |