[OpenBIOS] [PATCH 2/2] 40p: update PReP configuration to match 40p machine

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Mon Aug 27 14:24:51 CEST 2018


Now that the QEMU PReP machine has been officially deprecated we should
switch over the OpenBIOS PReP configuration to match the 40p machine
instead.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 arch/ppc/qemu/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index af15682..c40b7df 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -113,7 +113,7 @@ int has_adb(void)
 
 static const pci_arch_t known_arch[] = {
     [ARCH_PREP] = {
-        .name = "PREP",
+        .name = "40P",
         .vendor_id = PCI_VENDOR_ID_MOTOROLA,
         .device_id = PCI_DEVICE_ID_MOTOROLA_RAVEN,
         .cfg_addr = 0x80000cf8,
@@ -130,7 +130,7 @@ static const pci_arch_t known_arch[] = {
             { .type = MEMORY_SPACE_32, .parentaddr = 0, .childaddr = 0xc0100000, .len = 0x10000000 },
             { .type = 0, .parentaddr = 0, .childaddr = 0, .len = 0 }
          },
-        .irqs = { 9, 11, 9, 11 }
+        .irqs = { 15, 15, 15, 15 }
     },
     [ARCH_MAC99] = {
         .name = "MAC99",
-- 
2.11.0




More information about the OpenBIOS mailing list