]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: synquacer: set actual gd->ram_top and gd->ram_size
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Tue, 3 Oct 2023 02:29:57 +0000 (11:29 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 11 Oct 2023 14:35:24 +0000 (10:35 -0400)
commit357f4fb0bdc5ca1e6e881638b7089444f07b99d3
treeafccf1685335fb01dea508570e1c636af67bfe59
parent2d307fb9ed2065cc1596a3c4263e55d1cae6799d
board: synquacer: set actual gd->ram_top and gd->ram_size

Current gd->ram_size and gd->ram_top reflect only the
first DRAM bank even if the SynQuacer Developerbox could
have up to three DRAM banks.
With the commit 06d514d77c37 ("lmb: consider EFI memory map"),
the first DRAM bank indicates <4GB address, so whole >4GB memory
is marked as EFI_BOOT_SERVICES_DATA and it results that
U-Boot can not access >4GB memory.

Since 64-bits DRAM address is fully available on the SynQuacer
Developerbox, let's set the installed DIMM information to
gd->ram_top and gd->ram_size.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
board/socionext/developerbox/developerbox.c