]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Refactor relocation to prepare for 64-bit
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:53 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commitfcd65f909c94ae5c5f080c0f91111f565d46bd8a
treeb71feb162d0e1e8e15742a74655cdff046688ff7
parent615a4eccb7c28baf4dd730f5a3fec746353dcbeb
x86: Refactor relocation to prepare for 64-bit

Move the core relocation code into a separate function so that the checking
code can be used for 64-bit relocation also.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/relocate.c