aspeed: add a memory region for SRAM
commit74af4eec29f828b8ddf51d9f071264866c868ccb
authorCédric Le Goater <clg@kaod.org>
Tue, 27 Dec 2016 14:59:27 +0000 (27 14:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Dec 2016 14:59:27 +0000 (27 14:59 +0000)
tree02318df8c391f862f5f07a328d49330d7091d4fb
parentef17f8366173aa28e3b32469725b221ab03fc421
aspeed: add a memory region for SRAM

The size of the SRAM depends on the SoC model, so use a per-soc
definition when creating the region.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1480434248-27138-9-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed_soc.c
include/hw/arm/aspeed_soc.h