
10 Oct
2019
10 Oct
'19
11:03 a.m.
On Wed, Sep 25, 2019 at 10:59 PM Simon Glass sjg@chromium.org wrote:
At present with fsp a single DRAM bank is added which extends to the whole size of memory. However there is typically only 2GB of memory available below the 4GB boundary, and this is what is used by U-Boot while running in 32-bit mode.
Scan the tables to set the banks correct. The first bank is set to memory below 4GB, and the rest of memory is put into subsequent banks.
Signed-off-by: Simon Glass sjg@chromium.org
arch/x86/lib/fsp/fsp_dram.c | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com