commit | 745b1d15ec62a3b7a7a5f35f1e216f58746cd7ea | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Mar 02 12:40:49 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 16 19:27:40 2015 -0600 |
tree | 04c9e2fb3ea8157b231dfca85d29412c281051ec | |
parent | 1242b876c85fb02716e62e3d5c35caebf7049796 [diff] |
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>