aboutsummaryrefslogtreecommitdiff
path: root/board/eltec/mhpc/flash.c
diff options
context:
space:
mode:
authorwdenk2003-06-27 21:31:46 +0000
committerwdenk2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /board/eltec/mhpc/flash.c
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
* 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/eltec/mhpc/flash.c')
-rw-r--r--board/eltec/mhpc/flash.c34
1 files changed, 6 insertions, 28 deletions
diff --git a/board/eltec/mhpc/flash.c b/board/eltec/mhpc/flash.c
index e9c8f9862d4..4cc66a973db 100644
--- a/board/eltec/mhpc/flash.c
+++ b/board/eltec/mhpc/flash.c
@@ -193,13 +193,13 @@ static ulong flash_get_size (FPW *addr, flash_info_t *info)
switch (value) {
case (FPW)INTEL_ID_28F640J5 :
- info->flash_id += FLASH_28F640J5 ;
- info->sector_count = 64;
- info->size = 0x00800000;
- break; /* => 8 MB */
+ info->flash_id += FLASH_28F640J5 ;
+ info->sector_count = 64;
+ info->size = 0x00800000;
+ break; /* => 8 MB */
- default:
- info->flash_id = FLASH_UNKNOWN;
+ default:
+ info->flash_id = FLASH_UNKNOWN;
break;
}
@@ -429,25 +429,3 @@ static int write_data (flash_info_t *info, ulong dest, FPW data)
return (0);
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-