Message ID | 1367800672-2914-4-git-send-email-andreas.faerber@web.de |
---|---|
State | New |
Headers | show |
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index afa62d7..be8a50e 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -269,7 +269,7 @@ static uint32_t PREP_io_800_readb (void *opaque, uint32_t addr) switch (addr) { case 0x0092: /* Special port 92 */ - retval = 0x00; + retval = sysctrl->endian << 1; break; case 0x0800: /* Motorola CPU configuration register */