Searched hist:"112 a575e498fe0c6bfbb4dbe3266d83f48d46a99" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/x86/cpu/coreboot/ |
| H A D | sdram.c | 112a575e498fe0c6bfbb4dbe3266d83f48d46a99 Mon Dec 03 14:26:08 UTC 2012 Gabe Black <gabeblack@chromium.org> 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>
|