diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-02-08 17:56:36 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-13 14:30:51 +0000 |
| commit | f5bb124ecf34298246b4a776f2cf7545b1170638 (patch) | |
| tree | ff9c394cf28cd97089847e7d47d5c1aa8bf6892f /scripts/qapi/source.py | |
| parent | cd6c9977d3b34d3c5569bec8c5316735b7df5239 (diff) | |
| download | focaccia-qemu-f5bb124ecf34298246b4a776f2cf7545b1170638.tar.gz focaccia-qemu-f5bb124ecf34298246b4a776f2cf7545b1170638.zip | |
hw/arm/raspi: Extract the RAM size from the board revision
The board revision encode the amount of RAM. Add a helper to extract the RAM size, and use it. Since the amount of RAM is fixed (it is impossible to physically modify to have more or less RAM), do not allow sizes different than the one anounced by the manufacturer. Acked-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20200208165645.15657-5-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions