summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2021-02-19 15:45:40 +0100
committerPeter Maydell2021-03-08 18:20:01 +0100
commit0eb6b0ad16dfb3c4834c6943c3132b8d96294730 (patch)
tree0b3bd0a48d2bcf79bd4b92a743f78ae019af0d77 /include
parenthw/misc/iotkit-sysctl: Remove is_sse200 flag (diff)
downloadqemu-0eb6b0ad16dfb3c4834c6943c3132b8d96294730.tar.gz
qemu-0eb6b0ad16dfb3c4834c6943c3132b8d96294730.tar.xz
qemu-0eb6b0ad16dfb3c4834c6943c3132b8d96294730.zip
hw/misc/iotkit-secctl.c: Implement SSE-300 PID register values
The versions of the Secure Access Configuration Register Block and Non-secure Access Configuration Register Block in the SSE-300 are the same as those in the SSE-200, but the CIDR/PIDR ID register values are different. Plumb through the sse-version property and use it to select the correct ID register values. 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-8-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/iotkit-secctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/misc/iotkit-secctl.h b/include/hw/misc/iotkit-secctl.h
index 227d44abe4..79a3628320 100644
--- a/include/hw/misc/iotkit-secctl.h
+++ b/include/hw/misc/iotkit-secctl.h
@@ -120,6 +120,8 @@ struct IoTKitSecCtl {
IoTKitSecCtlPPC apb[IOTS_NUM_APB_PPC];
IoTKitSecCtlPPC apbexp[IOTS_NUM_APB_EXP_PPC];
IoTKitSecCtlPPC ahbexp[IOTS_NUM_APB_EXP_PPC];
+
+ uint32_t sse_version;
};
#endif