hw/i2c/mpc_i2c: Fix mmio region size
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 21 Jul 2024 22:55:06 +0000 (00:55 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 23 Jul 2024 18:30:36 +0000 (20:30 +0200)
commit53858a6a305248a567d441de12afc97d3dd9cc7d
tree8ecf371fced3f20b8a208880ff1bf8fd79cb1d84
parent16c84ec1bed94997d786671cc154c250375e2363
hw/i2c/mpc_i2c: Fix mmio region size

The last register of this device is at offset 0x14 occupying 8 bits so
to cover it the mmio region needs to be 0x15 bytes long. Also correct
the name of the field storing this register value to match the
register name.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Fixes: 7abb479c7a ("PPC: E500: Add FSL I2C controller")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240721225506.B32704E6039@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i2c/mpc_i2c.c