x86: Allow relocation code to build without text base
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:49 +0000 (12:33 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:06 +0000 (08:44 -0600)
commita42bfe02d3042b82c9381bb6c96dadae37594c28
tree14c841fb51297d77a756c509d8e352598b0fe85d
parentd6c099c2a1a12667dfa1abb03ef1eba9ab4f9197
x86: Allow relocation code to build without text base

This code currently requires CONFIG_SYS_TEXT_BASE but this should be
unnecessary. As a first step, remove the build-time limitation and report an
error instead.

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