]> Git Repo - qemu.git/commit
hw/arm/raspi: Set default RAM size to size encoded in board revision
authorPhilippe Mathieu-Daudé <[email protected]>
Sat, 8 Feb 2020 16:56:42 +0000 (17:56 +0100)
committerPeter Maydell <[email protected]>
Thu, 13 Feb 2020 14:30:51 +0000 (14:30 +0000)
commit975f3402fad40dc2e530e2a7a91ba7d0c2cd6a1d
tree0d4f05bd9d1d8bcf835d083b0adada02cc0d9327
parent13c4e2c087924d62da006858baee20b1ffb44462
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é <[email protected]>
Message-id: 20200208165645[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/raspi.c
This page took 0.02313 seconds and 4 git commands to generate.