From 0b871b56c0947f671c50a5283b31475dd8153f38 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 26 Jun 2020 22:02:13 -0300 Subject: [PATCH] Actually fix the Apollo SS7 maximum RAM amounts, based on the DRAM bank configurations defined in the board manuals --- src/machine/m_at_socket7_s7.c | 3 ++- src/machine/m_at_sockets7.c | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/machine/m_at_socket7_s7.c b/src/machine/m_at_socket7_s7.c index cfff668b9..f997105d2 100644 --- a/src/machine/m_at_socket7_s7.c +++ b/src/machine/m_at_socket7_s7.c @@ -983,7 +983,7 @@ machine_at_ficva502_init(const machine_t *model) device_add(&keyboard_ps2_pci_device); device_add(&fdc37c669_device); device_add(&sst_flash_29ee010_device); - spd_register(SPD_TYPE_SDRAM, 0x7, 256); + spd_register(SPD_TYPE_SDRAM, 0x3, 256); return ret; } @@ -1014,6 +1014,7 @@ machine_at_ficpa2012_init(const machine_t *model) device_add(&keyboard_ps2_pci_device); device_add(&w83877f_device); device_add(&sst_flash_39sf010_device); + spd_register(SPD_TYPE_SDRAM, 0x7, 512); return ret; } diff --git a/src/machine/m_at_sockets7.c b/src/machine/m_at_sockets7.c index f66a29353..e2687986b 100644 --- a/src/machine/m_at_sockets7.c +++ b/src/machine/m_at_sockets7.c @@ -67,7 +67,7 @@ machine_at_ax59pro_init(const machine_t *model) device_add(&keyboard_ps2_pci_device); device_add(&w83877tf_device); device_add(&sst_flash_39sf020_device); - spd_register(SPD_TYPE_SDRAM, 0xF, 256); + spd_register(SPD_TYPE_SDRAM, 0x7, 512); return ret; } @@ -90,7 +90,7 @@ machine_at_mvp3_init(const machine_t *model) pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0); pci_register_slot(0x08, PCI_CARD_NORMAL, 1, 2, 3, 4); pci_register_slot(0x09, PCI_CARD_NORMAL, 2, 3, 4, 1); - pci_register_slot(0x0a, PCI_CARD_NORMAL, 3, 4, 1, 2); + pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2); pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4); pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4); device_add(&via_mvp3_device); @@ -98,6 +98,7 @@ machine_at_mvp3_init(const machine_t *model) device_add(&keyboard_ps2_pci_device); device_add(&w83877tf_device); device_add(&sst_flash_39sf010_device); + spd_register(SPD_TYPE_SDRAM, 0x3, 512); return ret; }