]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:00:55 +0000 (08:00 +0200)
commit40b68b98078e847ad3c17f54c1cb4f949494c0cd
treed4edd28f9811d96962672fe3b0cdcdae1d6b3a34
parentc4c9125ee0c9f63ea1a3cfb2b193b6f5e5ace664
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