diff options
| author | Joel Stanley | 2019-05-07 13:55:02 +0200 |
|---|---|---|
| committer | Peter Maydell | 2019-05-07 13:55:02 +0200 |
| commit | a9df9622bc28ff94bb65e4264ddbf7e600d911dc (patch) | |
| tree | 555647712f8f23d2ed0a7fa090e698b52b8a705c /include | |
| parent | arm: Allow system registers for KVM guests to be changed by QEMU code (diff) | |
| download | qemu-a9df9622bc28ff94bb65e4264ddbf7e600d911dc.tar.gz qemu-a9df9622bc28ff94bb65e4264ddbf7e600d911dc.tar.xz qemu-a9df9622bc28ff94bb65e4264ddbf7e600d911dc.zip | |
arm: aspeed: Set SDRAM size
We currently use Qemu's default of 128MB. As we know how much ram each
machine ships with, make it easier on users by setting a default.
It can still be overridden with -m on the command line.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190503022958.1394-1-joel@jms.id.au
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/arm/aspeed.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/aspeed.h b/include/hw/arm/aspeed.h index 325c091d09..02073a6b4d 100644 --- a/include/hw/arm/aspeed.h +++ b/include/hw/arm/aspeed.h @@ -22,6 +22,7 @@ typedef struct AspeedBoardConfig { const char *spi_model; uint32_t num_cs; void (*i2c_init)(AspeedBoardState *bmc); + uint32_t ram; } AspeedBoardConfig; #define TYPE_ASPEED_MACHINE MACHINE_TYPE_NAME("aspeed") |
