mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
f75b533117
commit
71255c48e7
2 changed files with 28 additions and 25 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue