
17 Jan
2017
17 Jan
'17
3:58 a.m.
On Mon, Jan 16, 2017 at 10:03 PM, Simon Glass sjg@chromium.org wrote:
Add a 64-bit relocation function. SPL loads U-Boot into RAM at a fixed address and runs it. U-Boot then relocates itself to the top of RAM using this relocation function.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Changes in v3: None Changes in v2: None
arch/x86/lib/relocate.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)
applied to u-boot-x86, thanks!