mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-25 06:27:22 -07:00
aspeed/smc: Add an address mask on segment registers
Only a limited set of bits are used for decoding the Start and End addresses of the mapping window of a flash device. Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
f4aec2523b
commit
7c8d2fc4f9
2 changed files with 12 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ struct AspeedSMCClass {
|
|||
uint8_t max_peripherals;
|
||||
const uint32_t *resets;
|
||||
const AspeedSegments *segments;
|
||||
uint32_t segment_addr_mask;
|
||||
hwaddr flash_window_base;
|
||||
uint32_t flash_window_size;
|
||||
uint32_t features;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue