summary refs log tree commit diff stats
path: root/hw/misc/tz-mpc.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2020-09-01 14:21:50 +0200
committerCédric Le Goater <clg@kaod.org>2020-09-01 14:21:50 +0200
commit740bc3a7e610a2a0daea9af9fd7f45d5e9ed78cc (patch)
tree4eefae5c83b0596de09a2de59e8101c425c6fb36 /hw/misc/tz-mpc.c
parent31fc566f5e9cbe36d4fa12d429eff4c634d681b4 (diff)
downloadfocaccia-qemu-740bc3a7e610a2a0daea9af9fd7f45d5e9ed78cc.tar.gz
focaccia-qemu-740bc3a7e610a2a0daea9af9fd7f45d5e9ed78cc.zip
aspeed/scu: Fix valid access size on AST2400
The read access size of the SCU registers can be 1/2/4 bytes and write
is 4 bytes and all Aspeed models would need a .valid.accepts() handler.

For the moment, set the min access size to 1 byte to cover both read
and write operations on the AST2400 but keep the min access size of
the other SoCs to 4 bytes as this is an unusual access size.

This fixes support for some old firmware doing 2 bytes reads on the
AST2400 SoC.

Reported-by: Erik Smit <erik.lucas.smit@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20200819100956.2216690-5-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/misc/tz-mpc.c')
0 files changed, 0 insertions, 0 deletions