]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit3d336298a9c59bd26c3948e4a11063208e1b9c6f
tree6b9b57a3a30d405ff68b9e8165fd5eebc22f5b70
parentf56e0497a80857b886463e291860e0c1821cbbe6
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