On 9/7/21 8:58 AM, Cédric Le Goater wrote: > It's only useful to compute the initial size of the boot_rom region.
"AspeedSMCFlash::size is only used to compute the initial size of the boot_rom region. Not very useful, so directly call memory_region_size() instead."? > Use memory_region_size() instead. > > Signed-off-by: Cédric Le Goater <c...@kaod.org> > --- > include/hw/ssi/aspeed_smc.h | 1 - > hw/arm/aspeed.c | 7 ++++--- > hw/ssi/aspeed_smc.c | 5 ++--- > 3 files changed, 6 insertions(+), 7 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>