diff options
author | Peter Maydell | 2019-02-28 11:55:16 +0100 |
---|---|---|
committer | Peter Maydell | 2019-02-28 12:03:04 +0100 |
commit | 0483641418643d5d4cc4d1328fe7acc4ab36c709 (patch) | |
tree | 369452b6cfc91601b9d403429845329156ea3515 /hw/arm/armsse.c | |
parent | hw/misc/iotkit-sysctl: Correct typo in INITSVTOR0 register name (diff) | |
download | qemu-0483641418643d5d4cc4d1328fe7acc4ab36c709.tar.gz qemu-0483641418643d5d4cc4d1328fe7acc4ab36c709.tar.xz qemu-0483641418643d5d4cc4d1328fe7acc4ab36c709.zip |
hw/arm/iotkit-sysctl: Add SSE-200 registers
The SYSCTL block in the SSE-200 has some extra registers that
are not present in the IoTKit version. Add these registers
(as reads-as-written stubs), enabled by a new QOM property.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190219125808.25174-7-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/armsse.c')
-rw-r--r-- | hw/arm/armsse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c index 97e3d5e807..6eed2ecf80 100644 --- a/hw/arm/armsse.c +++ b/hw/arm/armsse.c @@ -997,6 +997,8 @@ static void armsse_realize(DeviceState *dev, Error **errp) /* System information registers */ sysbus_mmio_map(SYS_BUS_DEVICE(&s->sysinfo), 0, 0x40020000); /* System control registers */ + object_property_set_int(OBJECT(&s->sysctl), info->sys_version, + "SYS_VERSION", &err); object_property_set_bool(OBJECT(&s->sysctl), true, "realized", &err); if (err) { error_propagate(errp, err); |