mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
PPC64: map Uni-North AGP bus aka fix Linux boot
Uni-North AGP device mapping was accidentally dropped in
2e29bd0478
.
Map the device.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
603987488c
commit
d27d06f21f
@ -171,11 +171,21 @@ PCIBus *pci_pmac_init(qemu_irq *pic)
|
||||
|
||||
/* Uninorth AGP bus */
|
||||
pci_create_simple(d->host_state.bus, 11 << 3, "Uni-north AGP");
|
||||
dev = qdev_create(NULL, "Uni-north AGP");
|
||||
qdev_init_nofail(dev);
|
||||
s = sysbus_from_qdev(dev);
|
||||
sysbus_mmio_map(s, 0, 0xf0800000);
|
||||
sysbus_mmio_map(s, 1, 0xf0c00000);
|
||||
|
||||
/* Uninorth internal bus */
|
||||
#if 0
|
||||
/* XXX: not needed for now */
|
||||
pci_create_simple(d->host_state.bus, 14 << 3, "Uni-north internal");
|
||||
dev = qdev_create(NULL, "Uni-north internal");
|
||||
qdev_init_nofail(dev);
|
||||
s = sysbus_from_qdev(dev);
|
||||
sysbus_mmio_map(s, 0, 0xf4800000);
|
||||
sysbus_mmio_map(s, 1, 0xf4c00000);
|
||||
#endif
|
||||
|
||||
return d->host_state.bus;
|
||||
|
Loading…
Reference in New Issue
Block a user