Message ID | 20180506142005.19580-4-mark.cave-ayland@ilande.co.uk |
---|---|
State | New |
Headers | show |
Series | uninorth/macio: minor fixups | expand |
diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c index f9a40eea81..4b020c57f5 100644 --- a/hw/misc/macio/macio.c +++ b/hw/misc/macio/macio.c @@ -276,6 +276,10 @@ static const MemoryRegionOps timer_ops = { .read = timer_read, .write = timer_write, .endianness = DEVICE_LITTLE_ENDIAN, + .impl = { + .min_access_size = 4, + .max_access_size = 4, + }, }; static void macio_newworld_realize(PCIDevice *d, Error **errp)
From testing all my local images the timer registers are only ever read or written with 32-bit accesses. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> --- hw/misc/macio/macio.c | 4 ++++ 1 file changed, 4 insertions(+)