diff options
author | Cédric Le Goater | 2018-08-16 15:05:29 +0200 |
---|---|---|
committer | Peter Maydell | 2018-08-16 15:29:58 +0200 |
commit | ebe31c0a8ef7b59fd96171fe694339ce69ee24a6 (patch) | |
tree | 374a67f4d65ac04241b9d52e1cec78089dc5503c /include/hw/misc | |
parent | aspeed_sdmc: Handle ECC training (diff) | |
download | qemu-ebe31c0a8ef7b59fd96171fe694339ce69ee24a6.tar.gz qemu-ebe31c0a8ef7b59fd96171fe694339ce69ee24a6.tar.xz qemu-ebe31c0a8ef7b59fd96171fe694339ce69ee24a6.zip |
aspeed: add a max_ram_size property to the memory controller
This will be used to construct a memory region beyond the RAM region
to let firmwares scan the address space with load/store to guess how
much RAM the SoC has.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180807075757.7242-7-joel@jms.id.au
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/misc')
-rw-r--r-- | include/hw/misc/aspeed_sdmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/aspeed_sdmc.h b/include/hw/misc/aspeed_sdmc.h index e079c66a7d..b3c926acae 100644 --- a/include/hw/misc/aspeed_sdmc.h +++ b/include/hw/misc/aspeed_sdmc.h @@ -27,6 +27,7 @@ typedef struct AspeedSDMCState { uint32_t silicon_rev; uint32_t ram_bits; uint64_t ram_size; + uint64_t max_ram_size; uint32_t fixed_conf; } AspeedSDMCState; |