[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 02/10] prep: Use ISA m48t59
From: |
Andreas Färber |
Subject: |
[Qemu-ppc] [PATCH 02/10] prep: Use ISA m48t59 |
Date: |
Fri, 20 Jan 2012 00:35:23 +0100 |
This simplifies the code later when the i8259 moves to the i82378
PCI->ISA bridge and happens to fix a SysBus m48t59 io_base issue
introduced by commit 0fb56ffc5edd66f12ccfc0d71af5f9c79c0a2612 (m48t59:
drop obsolete address base arithmetic). Suggested by Hervé and Jan.
Signed-off-by: Andreas Färber <address@hidden>
Cc: Hervé Poussineau <address@hidden>
Cc: Jan Kiszka <address@hidden>
Cc: Blue Swirl <address@hidden>
---
hw/ppc_prep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index dec059a..1cc0ae0 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -707,7 +707,7 @@ static void ppc_prep_init (ram_addr_t ram_size,
usb_ohci_init_pci(pci_bus, -1);
}
- m48t59 = m48t59_init(i8259[8], 0, 0x0074, NVRAM_SIZE, 59);
+ m48t59 = m48t59_init_isa(isa_bus, 0x0074, NVRAM_SIZE, 59);
if (m48t59 == NULL)
return;
sysctrl->nvram = m48t59;
--
1.7.7
- [Qemu-ppc] [PULL] PReP patch queue 2012-01-20, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 01/10] prep: Fix offset of BIOS MemoryRegion, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 02/10] prep: Use ISA m48t59,
Andreas Färber <=
- [Qemu-ppc] [PATCH 04/10] prep_pci: Simplify I/O endianness, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 05/10] prep_pci: Update I/O to MemoryRegion ops, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 06/10] prep: qdev'ify Raven host bridge (SysBus), Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 07/10] MAINTAINERS: Add PCI host bridge files to PReP machine, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 03/10] prep: qdev'ify Raven host bridge (PCIDevice), Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 10/10] prep: Use i82378 PCI->ISA bridge for 'prep' machine, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 09/10] prep: Add i82378 PCI-to-ISA bridge emulation, Andreas Färber, 2012/01/19
- [Qemu-ppc] [PATCH 08/10] prep: Add i82374 DMA emulation, Andreas Färber, 2012/01/19
- Re: [Qemu-ppc] [Qemu-devel] [PULL] PReP patch queue 2012-01-20, Anthony Liguori, 2012/01/23