diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-02-18 09:18:14 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-02-26 18:40:51 +0100 |
commit | 7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab (patch) | |
tree | 100d2193ffd0d94b20f4c3497b2fe86359743896 /include/hw | |
parent | f4aec2523b479cb555473e6b03fe8db142a14a3b (diff) | |
download | qemu-7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab.zip qemu-7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab.tar.gz qemu-7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab.tar.bz2 |
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>
Diffstat (limited to 'include/hw')
-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 e265555..cad73dd 100644 --- a/include/hw/ssi/aspeed_smc.h +++ b/include/hw/ssi/aspeed_smc.h @@ -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; |