From: Alexander Graf Date: Mon, 30 Aug 2010 22:22:50 +0000 (+0200) Subject: PPC: Make e500 pci byte swap config data X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~7217^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfb207e643d94e3e96d456b1df14c5e36f6aa9e5;p=sdk%2Femulator%2Fqemu.git PPC: Make e500 pci byte swap config data The config data field on the e500 pci controller is in little endian, so we need to enable byte swap there. Signed-off-by: Alexander Graf --- diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c index 3fa42d2..629b242 100644 --- a/hw/ppce500_pci.c +++ b/hw/ppce500_pci.c @@ -313,7 +313,7 @@ static int e500_pcihost_initfn(SysBusDevice *dev) cpu_register_physical_memory(registers + PCIE500_CFGADDR, 4, index); /* CFGDATA */ - index = pci_host_data_register_mmio(&s->pci_state, 0); + index = pci_host_data_register_mmio(&s->pci_state, 1); if (index < 0) return -1; cpu_register_physical_memory(registers + PCIE500_CFGDATA, 4, index);