Cleanup for GCC-4.x
[oweals/u-boot.git] / board / gth / flash.c
index c8b56fb96b24a0585e543402af50078075cf5a58..41a5c50b0fac45e5bcb988e6189bcb054443e299 100644 (file)
@@ -261,7 +261,7 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info)
 #if 0
        ulong base = (ulong)addr;
 #endif
-       uchar value;
+       ulong 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;