prep: Make System I/O port 0092 read/write
Port 0x0092 is documented as read/write, so for now return the endianness state instead of hardcoded 0x00. Signed-off-by: Julio Guerra <guerr@julio.in> [AF: Extracted from larger port 0092 patch] Signed-off-by: Andreas Färber <andreas.faerber@web.de>
This commit is contained in:
parent
97c42c3c93
commit
b6f54b31e7
@ -269,7 +269,7 @@ static uint32_t PREP_io_800_readb (void *opaque, uint32_t addr)
|
|||||||
switch (addr) {
|
switch (addr) {
|
||||||
case 0x0092:
|
case 0x0092:
|
||||||
/* Special port 92 */
|
/* Special port 92 */
|
||||||
retval = 0x00;
|
retval = sysctrl->endian << 1;
|
||||||
break;
|
break;
|
||||||
case 0x0800:
|
case 0x0800:
|
||||||
/* Motorola CPU configuration register */
|
/* Motorola CPU configuration register */
|
||||||
|
Loading…
Reference in New Issue
Block a user