Added the Winbond W29C010 Flash.
This commit is contained in:
@@ -26,6 +26,7 @@ extern const device_t intel_flash_bxb_device;
|
|||||||
|
|
||||||
extern const device_t sst_flash_29ee010_device;
|
extern const device_t sst_flash_29ee010_device;
|
||||||
extern const device_t sst_flash_29ee020_device;
|
extern const device_t sst_flash_29ee020_device;
|
||||||
|
extern const device_t winbond_flash_w29c010_device;
|
||||||
extern const device_t winbond_flash_w29c020_device;
|
extern const device_t winbond_flash_w29c020_device;
|
||||||
extern const device_t sst_flash_39sf010_device;
|
extern const device_t sst_flash_39sf010_device;
|
||||||
extern const device_t sst_flash_39sf020_device;
|
extern const device_t sst_flash_39sf020_device;
|
||||||
|
@@ -691,7 +691,7 @@ machine_at_m729_init(const machine_t *model)
|
|||||||
pci_register_slot(0x10, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
pci_register_slot(0x10, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
||||||
device_add(&ali1621_device);
|
device_add(&ali1621_device);
|
||||||
device_add(&ali1543c_device); /* +0 */
|
device_add(&ali1543c_device); /* +0 */
|
||||||
device_add(&sst_flash_29ee010_device);
|
device_add(&winbond_flash_w29c010_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0x7, 512);
|
spd_register(SPD_TYPE_SDRAM, 0x7, 512);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
@@ -77,6 +77,7 @@ static char flash_path[1024];
|
|||||||
#define SST39SF040 0xb700
|
#define SST39SF040 0xb700
|
||||||
|
|
||||||
#define WINBOND 0xda /* Winbond Manufacturer's ID */
|
#define WINBOND 0xda /* Winbond Manufacturer's ID */
|
||||||
|
#define W29C010 0xC100
|
||||||
#define W29C020 0x4500
|
#define W29C020 0x4500
|
||||||
|
|
||||||
#define SIZE_512K 0x010000
|
#define SIZE_512K 0x010000
|
||||||
@@ -482,6 +483,20 @@ const device_t sst_flash_29ee010_device = {
|
|||||||
.config = NULL
|
.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 = {
|
const device_t sst_flash_29ee020_device = {
|
||||||
.name = "SST 29EE020 Flash BIOS",
|
.name = "SST 29EE020 Flash BIOS",
|
||||||
.internal_name = "sst_flash_29ee020",
|
.internal_name = "sst_flash_29ee020",
|
||||||
|
Reference in New Issue
Block a user