Re: [Qemu-devel] [PATCH v5 11/14] aspeed: calculate the RAM size bits at realize time

2016-09-12 Thread Andrew Jeffery
On Fri, 2016-09-09 at 18:22 +0200, Cédric Le Goater wrote: > There is no need to do this at each reset as the RAM size will not > change. > > Signed-off-by: Cédric Le Goater Reviewed-by: Andrew Jeffery > --- >  hw/misc/aspeed_sdmc.c | 16 ++-- >  include/hw/misc/aspeed_sdmc.

[Qemu-devel] [PATCH v5 11/14] aspeed: calculate the RAM size bits at realize time

2016-09-09 Thread Cédric Le Goater
There is no need to do this at each reset as the RAM size will not change. Signed-off-by: Cédric Le Goater --- hw/misc/aspeed_sdmc.c | 16 ++-- include/hw/misc/aspeed_sdmc.h | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/hw/misc/aspeed_sdmc.c b/hw/mis