summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-12-12 21:05:22 +0800
committerSimon Glass <sjg@chromium.org>2014-12-13 22:32:04 -0700
commitfe0c33a5acc8cc5400747200802089177bd94b58 (patch)
tree1c95fc97caa55bfb3f81d6ecf750db36023a5cdd /lib
parentc7016234f77e3c46dab08f84399bcc4b48268c04 (diff)
downloadtalos-obmc-uboot-fe0c33a5acc8cc5400747200802089177bd94b58.tar.gz
talos-obmc-uboot-fe0c33a5acc8cc5400747200802089177bd94b58.zip
x86: Clean up asm-offsets
Move GD_BIST from lib/asm-offsets.c to arch/x86/lib/asm-offsets.c as it is x86 arch specific stuff. Also remove GENERATED_GD_RELOC_OFF which is not referenced anymore. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/asm-offsets.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c
index 580f763da6..129bc3e2af 100644
--- a/lib/asm-offsets.c
+++ b/lib/asm-offsets.c
@@ -31,9 +31,6 @@ int main(void)
#ifdef CONFIG_SYS_MALLOC_F_LEN
DEFINE(GD_MALLOC_BASE, offsetof(struct global_data, malloc_base));
#endif
-#ifdef CONFIG_X86
- DEFINE(GD_BIST, offsetof(struct global_data, arch.bist));
-#endif
#if defined(CONFIG_ARM)
OpenPOWER on IntegriCloud