diff options
| author | Philippe Mathieu-Daudé | 2020-02-08 17:56:42 +0100 |
|---|---|---|
| committer | Peter Maydell | 2020-02-13 15:30:51 +0100 |
| commit | 975f3402fad40dc2e530e2a7a91ba7d0c2cd6a1d (patch) | |
| tree | 0d4f05bd9d1d8bcf835d083b0adada02cc0d9327 /include/exec/user | |
| parent | hw/arm/raspi: Let class_init() directly call raspi_machine_init() (diff) | |
| download | qemu-975f3402fad40dc2e530e2a7a91ba7d0c2cd6a1d.tar.gz qemu-975f3402fad40dc2e530e2a7a91ba7d0c2cd6a1d.tar.xz qemu-975f3402fad40dc2e530e2a7a91ba7d0c2cd6a1d.zip | |
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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
