Commit fe0c33a5acc8cc5400747200802089177bd94b58
Committed by
Simon Glass
1 parent
c7016234f7
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 3 changed files with 3 additions and 5 deletions Side-by-side Diff
arch/x86/cpu/start.S
1 | 1 | /* |
2 | - * U-boot - x86 Startup Code | |
2 | + * U-Boot - x86 Startup Code | |
3 | 3 | * |
4 | 4 | * (C) Copyright 2008-2011 |
5 | 5 | * Graeme Russ, <graeme.russ@gmail.com> |
... | ... | @@ -17,6 +17,7 @@ |
17 | 17 | #include <asm/processor.h> |
18 | 18 | #include <asm/processor-flags.h> |
19 | 19 | #include <generated/generic-asm-offsets.h> |
20 | +#include <generated/asm-offsets.h> | |
20 | 21 | |
21 | 22 | .section .text |
22 | 23 | .code32 |
arch/x86/lib/asm-offsets.c
lib/asm-offsets.c