Update flashmem.c

add W25Q16 devid

Signed-off-by: libin-ka <46210417+libin-ka@users.noreply.github.com>
This commit is contained in:
libin-ka 2024-10-05 19:18:19 +08:00 committed by GitHub
commit c1107601f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -362,6 +362,9 @@ void Flashmem_print_status(void) {
} else {
if (device_type.manufacturer_id == WINBOND_MANID) {
switch (device_type.device_id) {
case WINBOND_16MB_DEVID:
DbpString(" Memory size............. " _YELLOW_("16 mbits / 2 MB"));
break;
case WINBOND_2MB_DEVID:
DbpString(" Memory size............. " _YELLOW_("2 mbits / 256 kb"));
break;