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>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user