diff options
author | Gabe Black <gabeblack@chromium.org> | 2012-12-03 14:26:08 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2012-12-06 14:30:42 -0800 |
commit | 112a575e498fe0c6bfbb4dbe3266d83f48d46a99 (patch) | |
tree | 36e2ec96b1c57cdf8c8cbf1dd9fd8bbfc45b0f89 /common/env_sf.c | |
parent | d65297b64d743105b18d912fa62627d6bf468c2f (diff) | |
download | u-boot-imx-112a575e498fe0c6bfbb4dbe3266d83f48d46a99.zip u-boot-imx-112a575e498fe0c6bfbb4dbe3266d83f48d46a99.tar.gz u-boot-imx-112a575e498fe0c6bfbb4dbe3266d83f48d46a99.tar.bz2 |
x86: Override calculate_relocation_address to use the e820 map
Because calculate_relocation_address now uses the e820 map, it will be able
to avoid addresses over 32 bits and regions that are at high addresses but
not big enough for U-Boot. It also means we can remove the hack which
limitted U-Boot's idea of the size of memory to less than 4GB.
Also take into account the space needed for the heap and stack, so we avoid
picking a very small region those areas might overlap with something it
shouldn't.
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/env_sf.c')
0 files changed, 0 insertions, 0 deletions