hw/misc/iotkit-secctl.c: add SSE-310 support
Add SSE-310 secure and non-secure ID registers. Reviewed-by: Owen Giles <owen.giles@hpe.com> Reviewed-by: Robert Elliott <elliott@hpe.com> Signed-off-by: Simon Xu <simonxhy0404@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20260805153005.9989-6-simonxhy0404@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Simon Xu committed
Aug 17, 2026 at 19:26 UTC
18f929d5b7ac0a275abe3f239f468b5e7fbbeedb
1 file changed
+18
hw/misc/iotkit-secctl.c
+18
@@ -109,6 +109,18 @@ static const uint8_t iotkit_secctl_ns_sse300_idregs[] = {
109
0x0d, 0xf0, 0x05, 0xb1,
110
};
111
112
+static const uint8_t iotkit_secctl_s_sse310_idregs[] = {
113
+ 0x04, 0x00, 0x00, 0x00,
114
+ 0x52, 0xb8, 0x3b, 0x00,
115
+ 0x0d, 0xf0, 0x05, 0xb1,
116
+};
117
+
118
+static const uint8_t iotkit_secctl_ns_sse310_idregs[] = {
119
+ 0x04, 0x00, 0x00, 0x00,
120
+ 0x53, 0xb8, 0x3b, 0x00,
121
+ 0x0d, 0xf0, 0x05, 0xb1,
122
+};
123
+
124
125
/* The register sets for the various PPCs (AHB internal, APB internal,
126
* AHB expansion, APB expansion) are all set up so that they are
@@ -232,6 +244,9 @@ static MemTxResult iotkit_secctl_s_read(void *opaque, hwaddr addr,
244
case ARMSSE_SSE300:
245
r = iotkit_secctl_s_sse300_idregs[(offset - A_PID4) / 4];
246
break;
247
+ case ARMSSE_SSE310:
248
+ r = iotkit_secctl_s_sse310_idregs[(offset - A_PID4) / 4];
249
+ break;
250
default:
251
r = iotkit_secctl_s_idregs[(offset - A_PID4) / 4];
252
break;
@@ -499,6 +514,9 @@ static MemTxResult iotkit_secctl_ns_read(void *opaque, hwaddr addr,
514
case ARMSSE_SSE300:
515
r = iotkit_secctl_ns_sse300_idregs[(offset - A_PID4) / 4];
516
break;
517
+ case ARMSSE_SSE310:
518
+ r = iotkit_secctl_ns_sse310_idregs[(offset - A_PID4) / 4];
519
+ break;
520
default:
521
r = iotkit_secctl_ns_idregs[(offset - A_PID4) / 4];
522
break;