diff --git a/hw/pl110.c b/hw/pl110.c index 7340d4b4a33d3965cc8121eee1f384afb8d7f2f5..9df77c46c4d0fe2d53aba12e19b7bd44b6c4277e 100644 --- a/hw/pl110.c +++ b/hw/pl110.c @@ -302,8 +302,12 @@ static uint32_t pl110_read(void *opaque, target_phys_addr_t offset) case 5: /* LCDLPBASE */ return s->lpbase; case 6: /* LCDIMSC */ + if (s->versatile) + return s->cr; return s->int_mask; case 7: /* LCDControl */ + if (s->versatile) + return s->int_mask; return s->cr; case 8: /* LCDRIS */ return s->int_status;