OSDN Git Service

hw/arm/armsse.c: Use correct SYS_CONFIG0 register value for SSE-300
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2021 14:45:42 +0000 (14:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Mar 2021 17:20:01 +0000 (17:20 +0000)
commitc89cef3a2cdfb355258890db8cfd2175add5bbee
tree06dd5c3b7a79368a938c8e2934a010204209ad1c
parent407664539d76523222a4a4a3ef273645593f75b2
hw/arm/armsse.c: Use correct SYS_CONFIG0 register value for SSE-300

In the SSE-300, the format of the SYS_CONFIG0 register has changed again;
pass through the correct value to the SYSINFO register block device.

We drop the old SysConfigFormat enum, which was implemented in the
hope that different flavours of SSE would share the same format;
since they all seem to be different and we now have an sse_version
enum to key off, just use that.

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-10-peter.maydell@linaro.org
hw/arm/armsse.c