aspeed: sbc: Correct default reset values
commitc2651cf45dd3ac5674bc720d2303668f0905507d
authorJoel Stanley <joel@jms.id.au>
Mon, 2 May 2022 15:03:02 +0000 (2 17:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Mon, 2 May 2022 15:03:02 +0000 (2 17:03 +0200)
treee181c442b26a96a4b66086d315d908696fb81f81
parentbad23bb64447594e3027f4792dbe46edfc9204f6
aspeed: sbc: Correct default reset values

In order to correctly report secure boot running firmware, these values
must be set. They are taken from a running machine when secure boot is
enabled.

We don't yet have documentation from ASPEED on what they mean. Set the
raw values for now, and in the future improve the model with properties
to set these on a per-machine basis.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220310052159.183975-1-joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/misc/aspeed_sbc.c