]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Support machines with >4GB of RAM
authorSimon Glass <sjg@chromium.org>
Mon, 2 Mar 2015 19:40:49 +0000 (12:40 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:21 +0000 (21:47 +0200)
commit0dad28f5c5620ea4bde0911045ec49e6a4f3b261
tree5414ea6ee13090fe36f955f06d96f507680f74e8
parenteecadd563757653ae8cb31d769dc28fe88e35f8f
x86: Support machines with >4GB of RAM

Some systems have more than 4GB of RAM. U-Boot can only place things below
4GB so any memory above that should not be used. Ignore any such memory so
that the memory size will not exceed the maximum.

This prevents gd->ram_size exceeding 4GB which causes problems for PCI
devices which use DMA.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
arch/x86/cpu/coreboot/sdram.c