Added the Winbond W29C010 Flash.

This commit is contained in:
OBattler
2022-12-04 23:31:21 +01:00
parent 3ba26fe834
commit bec9b59d6d
3 changed files with 17 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ static char flash_path[1024];
#define SST39SF040 0xb700
#define WINBOND 0xda /* Winbond Manufacturer's ID */
#define W29C010 0xC100
#define W29C020 0x4500
#define SIZE_512K 0x010000
@@ -482,6 +483,20 @@ const device_t sst_flash_29ee010_device = {
.config = NULL
};
const device_t winbond_flash_w29c010_device = {
.name = "SST 29EE010 Flash BIOS",
.internal_name = "winbond_flash_w29c010",
.flags = 0,
.local = WINBOND | W29C010 | SIZE_1M,
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t sst_flash_29ee020_device = {
.name = "SST 29EE020 Flash BIOS",
.internal_name = "sst_flash_29ee020",