summaryrefslogtreecommitdiff
path: root/lib/asm-offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asm-offsets.c')
-rw-r--r--lib/asm-offsets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c
index 129bc3e2af..580f763da6 100644
--- a/lib/asm-offsets.c
+++ b/lib/asm-offsets.c
@@ -31,6 +31,9 @@ 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)