diff options
Diffstat (limited to 'board/ebony/flash.c')
-rw-r--r-- | board/ebony/flash.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/ebony/flash.c b/board/ebony/flash.c index 6efd566..961c616 100644 --- a/board/ebony/flash.c +++ b/board/ebony/flash.c @@ -327,6 +327,9 @@ void flash_print_info (flash_info_t *info) case (FLASH_WORD_SIZE)SST_MANUFACT: info->flash_id = FLASH_MAN_SST; break; + case (FLASH_WORD_SIZE)STM_MANUFACT: + info->flash_id = FLASH_MAN_STM; + break; default: info->flash_id = FLASH_UNKNOWN; info->sector_count = 0; @@ -349,6 +352,11 @@ void flash_print_info (flash_info_t *info) info->sector_count = 32; info->size = 0x00200000; break; /* => 2 MB */ + case (FLASH_WORD_SIZE)STM_ID_F040B: + info->flash_id += FLASH_AM040; + info->sector_count = 8; + info->size = 0x0080000; /* => 512 ko */ + break; case (FLASH_WORD_SIZE)AMD_ID_F040B: info->flash_id += FLASH_AM040; info->sector_count = 8; |