|
|
|
@ -220,7 +220,7 @@ static ulong flash_get_size(vu_long *addr, flash_info_t *info) |
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_LV040B: |
|
|
|
|
info->flash_id += FLASH_AM040; |
|
|
|
|
info->sector_count = 8; |
|
|
|
|
info->size = 0x0080000; /* => 512 ko */ |
|
|
|
|
info->size = 0x0080000; /* => 0.5 MB */ |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_LV800T: |
|
|
|
@ -250,32 +250,38 @@ static ulong flash_get_size(vu_long *addr, flash_info_t *info) |
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_LV320T: |
|
|
|
|
info->flash_id += FLASH_AM320T; |
|
|
|
|
info->sector_count = 71; |
|
|
|
|
info->size = 0x00400000; break; /* => 4 MB */ |
|
|
|
|
info->size = 0x00400000; |
|
|
|
|
break; /* => 4 MB */ |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_LV320B: |
|
|
|
|
info->flash_id += FLASH_AM320B; |
|
|
|
|
info->sector_count = 71; |
|
|
|
|
info->size = 0x00400000; break; /* => 4 MB */ |
|
|
|
|
info->size = 0x00400000; |
|
|
|
|
break; /* => 4 MB */ |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_DL322T: |
|
|
|
|
info->flash_id += FLASH_AMDL322T; |
|
|
|
|
info->sector_count = 71; |
|
|
|
|
info->size = 0x00400000; break; /* => 4 MB */ |
|
|
|
|
info->size = 0x00400000; |
|
|
|
|
break; /* => 4 MB */ |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_DL322B: |
|
|
|
|
info->flash_id += FLASH_AMDL322B; |
|
|
|
|
info->sector_count = 71; |
|
|
|
|
info->size = 0x00400000; break; /* => 4 MB */ |
|
|
|
|
info->size = 0x00400000; |
|
|
|
|
break; /* => 4 MB */ |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_DL323T: |
|
|
|
|
info->flash_id += FLASH_AMDL323T; |
|
|
|
|
info->sector_count = 71; |
|
|
|
|
info->size = 0x00400000; break; /* => 4 MB */ |
|
|
|
|
info->size = 0x00400000; |
|
|
|
|
break; /* => 4 MB */ |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)AMD_ID_DL323B: |
|
|
|
|
info->flash_id += FLASH_AMDL323B; |
|
|
|
|
info->sector_count = 71; |
|
|
|
|
info->size = 0x00400000; break; /* => 4 MB */ |
|
|
|
|
info->size = 0x00400000; |
|
|
|
|
break; /* => 4 MB */ |
|
|
|
|
|
|
|
|
|
case (CFG_FLASH_WORD_SIZE)SST_ID_xF020: |
|
|
|
|
info->flash_id += FLASH_SST020; |
|
|
|
|