diff options
Diffstat (limited to 'board/pcippc2/flash.c')
-rw-r--r-- | board/pcippc2/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pcippc2/flash.c b/board/pcippc2/flash.c index 6e9e339..8c01415 100644 --- a/board/pcippc2/flash.c +++ b/board/pcippc2/flash.c @@ -136,7 +136,7 @@ static ulong flash_get_size (ulong addr, flash_info_t *info) DEBUGF("Device ID @ 0x%08lx: 0x%08x\n", addr+1, value); - switch (value) { + switch ((ulong)value) { case AMD_ID_F040B: DEBUGF("Am29F040B\n"); info->flash_id += FLASH_AM040; |