vexpress64: pick DRAM size from DT
authorAndre Przywara <andre.przywara@arm.com>
Fri, 4 Mar 2022 16:30:17 +0000 (16:30 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 18:59:15 +0000 (14:59 -0400)
commit1a1143a45457161e90ea4cd5f3b0561d924ed8fe
tree6b9b57a3a30d405ff68b9e8165fd5eebc22f5b70
parent30cacb8123459328c46c25f65196bb4885dcdb05
vexpress64: pick DRAM size from DT

So far the DRAM size for both the Juno and the FVP model were hardcoded
in our config header file. For the Juno this is fine, as all models have
8 GiB of DRAM, but the DRAM size can be configured on the model command
line.

Drop the fixed DRAM size setup, instead look up the size in the device
tree, that we now have for every board. This allows a user to inject
a DT with the proper size, and be able to use the full amount of DRAM.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/armltd/vexpress64/vexpress64.c