hw/misc/iotkit-sysctl: Handle INITSVTOR* for SSE-300
commit246dbeb76319fdaa7030403ea0273617331f6a44
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2021 14:45:48 +0000 (19 14:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Mar 2021 17:20:02 +0000 (8 17:20 +0000)
tree52a9d7b8c2f174940d4327f57725476628affed9
parent92ecf2d5eeaecec2454e95acf2416162538c1225
hw/misc/iotkit-sysctl: Handle INITSVTOR* for SSE-300

The SSE-300 has only one CPU and so no INITSVTOR1. It does
have INITSVTOR0, but unlike the SSE-200 this register now
has a LOCK bit which can be set to 1 to prevent any further
writes to the register. Implement these differences.

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-16-peter.maydell@linaro.org
hw/misc/iotkit-sysctl.c