hw/misc/a9scu: Simplify setting MemoryRegionOps::impl fields
commit9d8e61918f2ecb67885d90ea5c6ad8e3d73e7db4
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 1 Sep 2020 14:40:59 +0000 (1 16:40 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 14 Sep 2020 13:23:19 +0000 (14 14:23 +0100)
treeb1433a02a666573d02b791afeac32749c62690fc
parent7b56d1f4aebf25d81d7b73fe1e2aac2d66b8c0ce
hw/misc/a9scu: Simplify setting MemoryRegionOps::impl fields

This model implementation is designed for 32-bit accesses.
We can simplify setting the MemoryRegionOps::impl min/max
fields to 32-bit (memory::access_with_adjusted_size() will
take care of the 8/16-bit accesses).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200901144100.116742-4-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/a9scu.c