]> git.proxmox.com Git - mirror_qemu.git/commit
iotkit-sysinfo: Make SYS_VERSION and SYS_CONFIG configurable
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Feb 2019 14:55:42 +0000 (14:55 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Feb 2019 14:55:42 +0000 (14:55 +0000)
commitdde0c4910395445da6b2b756193f89ab578d31a1
treed5914d858dab9e9aea42c93d3c0aa45226d6c4aa
parent7cd3a2e0d53ea0dc5e2811082a4f64b52c220ded
iotkit-sysinfo: Make SYS_VERSION and SYS_CONFIG configurable

The SYS_VERSION and SYS_CONFIG register values differ between the
IoTKit and SSE-200. Make them configurable via QOM properties rather
than hard-coded, and set them appropriately in the ARMSSE code that
instantiates the IOTKIT_SYSINFO device.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190121185118.18550-15-peter.maydell@linaro.org
hw/arm/armsse.c
hw/misc/iotkit-sysinfo.c
include/hw/misc/iotkit-sysinfo.h