mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
hw/misc/iotkit-sysinfo.c: Implement SSE-300 PID register values
The version of the SYSINFO Register Block in the SSE-300 has different CIDR/PIDR register values to the SSE-200; pass in 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-9-peter.maydell@linaro.org
This commit is contained in:
parent
0eb6b0ad16
commit
407664539d
3 changed files with 30 additions and 2 deletions
|
@ -951,6 +951,8 @@ static void armsse_realize(DeviceState *dev, Error **errp)
|
|||
armsse_sys_config_value(s, info), errp)) {
|
||||
return;
|
||||
}
|
||||
object_property_set_int(OBJECT(&s->sysinfo), "sse-version",
|
||||
info->sse_version, &error_abort);
|
||||
if (!sysbus_realize(SYS_BUS_DEVICE(&s->sysinfo), errp)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue