From: Joel Stanley Date: Tue, 19 Nov 2019 14:12:00 +0000 (+0100) Subject: aspeed/sdmc: Make ast2600 default 1G X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d3ff9e69b70da720dd701b7badb0bd285ce8b34b;p=qemu.git aspeed/sdmc: Make ast2600 default 1G Most boards have this much. Reviewed-by: Cédric Le Goater Reviewed-by: Alex Bennée Signed-off-by: Joel Stanley Signed-off-by: Cédric Le Goater Message-id: 20191119141211.25716-7-clg@kaod.org Signed-off-by: Peter Maydell --- diff --git a/hw/misc/aspeed_sdmc.c b/hw/misc/aspeed_sdmc.c index f3a63a2e01..2df3244b53 100644 --- a/hw/misc/aspeed_sdmc.c +++ b/hw/misc/aspeed_sdmc.c @@ -208,10 +208,10 @@ static int ast2600_rambits(AspeedSDMCState *s) } /* use a common default */ - warn_report("Invalid RAM size 0x%" PRIx64 ". Using default 512M", + warn_report("Invalid RAM size 0x%" PRIx64 ". Using default 1024M", s->ram_size); - s->ram_size = 512 << 20; - return ASPEED_SDMC_AST2600_512MB; + s->ram_size = 1024 << 20; + return ASPEED_SDMC_AST2600_1024MB; } static void aspeed_sdmc_reset(DeviceState *dev)