diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-02-08 17:56:42 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-13 14:30:51 +0000 |
commit | 975f3402fad40dc2e530e2a7a91ba7d0c2cd6a1d (patch) | |
tree | 0d4f05bd9d1d8bcf835d083b0adada02cc0d9327 /hw/rtc/m48t59-internal.h | |
parent | 13c4e2c087924d62da006858baee20b1ffb44462 (diff) |
hw/arm/raspi: Set default RAM size to size encoded in board revision
We added a helper to extract the RAM size from the board
revision, and made board_rev a field of RaspiMachineClass.
The class_init() can now use the helper to extract from the
board revision the board-specific amount of RAM.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200208165645.15657-11-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/rtc/m48t59-internal.h')
0 files changed, 0 insertions, 0 deletions