projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup for GCC-4.x
[oweals/u-boot.git]
/
board
/
gth
/
flash.c
diff --git
a/board/gth/flash.c
b/board/gth/flash.c
index c8b56fb96b24a0585e543402af50078075cf5a58..41a5c50b0fac45e5bcb988e6189bcb054443e299 100644
(file)
--- a/
board/gth/flash.c
+++ b/
board/gth/flash.c
@@
-261,7
+261,7
@@
static ulong flash_get_size (vu_long *addr, flash_info_t *info)
#if 0
ulong base = (ulong)addr;
#endif
- u
char
value;
+ u
long
value;
/* Write auto select command: read Manufacturer ID */
#if 0
@@
-278,7
+278,7
@@
static ulong flash_get_size (vu_long *addr, flash_info_t *info)
switch (value)
{
- case AMD_MANUFACT:
case 0x01:
+ case AMD_MANUFACT:
info->flash_id = FLASH_MAN_AMD;
break;