hw/bonito: remove incorrect pci_mem_base setting
This mistake makes PCI devices can't work correctly. Signed-off-by: Huacai Chen <zltjiangshi@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
b7fdb3ab0e
commit
fed61bbe32
@ -775,7 +775,6 @@ PCIBus *bonito_init(qemu_irq *pic)
|
|||||||
pci_bonito_map_irq, pic, 0x28, 32);
|
pci_bonito_map_irq, pic, 0x28, 32);
|
||||||
pcihost->bus = b;
|
pcihost->bus = b;
|
||||||
qdev_init_nofail(dev);
|
qdev_init_nofail(dev);
|
||||||
pci_bus_set_mem_base(pcihost->bus, 0x10000000);
|
|
||||||
|
|
||||||
d = pci_create_simple(b, PCI_DEVFN(0, 0), "Bonito");
|
d = pci_create_simple(b, PCI_DEVFN(0, 0), "Bonito");
|
||||||
s = DO_UPCAST(PCIBonitoState, dev, d);
|
s = DO_UPCAST(PCIBonitoState, dev, d);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user