hw/arm/armsse: Add framework for data-driven device placement
commite94d7723b5c0e7e51775ee8fc94a10e975392d0b
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2021 14:45:56 +0000 (19 14:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Mar 2021 17:20:02 +0000 (8 17:20 +0000)
tree17aa15ac7c5ab97f1eed4272974999ab3363aab1
parent3378873802afe8af0355c4fac3e11e6510fc1f27
hw/arm/armsse: Add framework for data-driven device placement

The SSE-300 is mostly the same as the SSE-200, but it has moved some
of the devices in the memory map and uses different device types in
some cases.  To accommodate this, add a framework where the placement
and wiring of some devices can be specified in a data table.

This commit adds the framework for this data-driven device placement,
and makes the CMSDK APB timer devices use it.  Subsequent commits
will convert the other devices which differ between SSE-200 and
SSE-300.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210219144617.4782-24-peter.maydell@linaro.org
hw/arm/armsse.c
include/hw/arm/armsse.h