diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-12-23 10:34:49 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-03-04 10:08:55 -0700 |
commit | 1e4d11a58c0d68443c7953fff6577fd6d339a34b (patch) | |
tree | e8a2ebabde2c514c54815125b71e2bcd253cde31 /include/configs/dreamplug.h | |
parent | 02251eefc95c477f4ff6aa7568dfd4be7c69c31f (diff) | |
download | u-boot-imx-1e4d11a58c0d68443c7953fff6577fd6d339a34b.zip u-boot-imx-1e4d11a58c0d68443c7953fff6577fd6d339a34b.tar.gz u-boot-imx-1e4d11a58c0d68443c7953fff6577fd6d339a34b.tar.bz2 |
common: board: support systems with where RAM ends beyond 4GB
Some systems have so much RAM that the end of RAM is beyond 4GB. An
example would be a Tegra124 system (where RAM starts at 2GB physical)
that has more than 2GB of RAM.
In this case, we can gd->ram_size to represent the actual RAM size, so
that the actual RAM size is passed to the OS. This is useful if the OS
implements LPAE, and can actually use the "extra" RAM.
However, U-Boot does not implement LPAE and so must deal with 32-bit
physical addresses. To this end, we enhance board_get_usable_ram_top() to
detect the "over-sized" case, and limit the relocation addres so that it
fits into 32-bits of physical address space.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/dreamplug.h')
0 files changed, 0 insertions, 0 deletions