aspeed/smc: Add an address mask on segment registers
commit7c8d2fc4f9cf55eaf0960aff3e77c7b8aebf90ab
authorCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 08:18:14 +0000 (18 09:18 +0100)
committerCédric Le Goater <clg@kaod.org>
Sat, 26 Feb 2022 17:40:51 +0000 (26 18:40 +0100)
tree100d2193ffd0d94b20f4c3497b2fe86359743896
parentf4aec2523b479cb555473e6b03fe8db142a14a3b
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>
hw/ssi/aspeed_smc.c
include/hw/ssi/aspeed_smc.h