diff options
| author | Cédric Le Goater <clg@kaod.org> | 2021-10-12 08:20:08 +0200 |
|---|---|---|
| committer | Cédric Le Goater <clg@kaod.org> | 2021-10-12 08:20:08 +0200 |
| commit | 71255c48e7b902483b94862f4882ddd050fe8ad8 (patch) | |
| tree | 3ddbd558ed42b9f1020017dc72681779598a5fb6 /include/hw/ssi/aspeed_smc.h | |
| parent | f75b5331178b6771f2a96e92ce140dd2786c8282 (diff) | |
| download | focaccia-qemu-71255c48e7b902483b94862f4882ddd050fe8ad8.tar.gz focaccia-qemu-71255c48e7b902483b94862f4882ddd050fe8ad8.zip | |
aspeed/smc: Add default reset values
This simplifies the reset handler and has the benefit to remove some "bad" use of the segments array as an identifier of the controller model. Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/ssi/aspeed_smc.h')
| -rw-r--r-- | include/hw/ssi/aspeed_smc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h index ee943228b9..a1ca0e65c4 100644 --- a/include/hw/ssi/aspeed_smc.h +++ b/include/hw/ssi/aspeed_smc.h @@ -98,6 +98,7 @@ struct AspeedSMCClass { uint8_t nregs_timings; uint8_t conf_enable_w0; uint8_t max_peripherals; + const uint32_t *resets; const AspeedSegments *segments; hwaddr flash_window_base; uint32_t flash_window_size; |