diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-11-08 02:33:18 +0000 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-11-29 21:07:42 +1100 |
commit | 311b1a2b38b5317fdff76a5dad9d16fee3f52c79 (patch) | |
tree | 16769d92346b0c1a931f3043db08f21cf739b5db /arch/x86/cpu/start.S | |
parent | facc9e7bf42e3578d7e7cecf1727f31badeee6bd (diff) | |
download | u-boot-imx-311b1a2b38b5317fdff76a5dad9d16fee3f52c79.zip u-boot-imx-311b1a2b38b5317fdff76a5dad9d16fee3f52c79.tar.gz u-boot-imx-311b1a2b38b5317fdff76a5dad9d16fee3f52c79.tar.bz2 |
sc520: Create arch asm-offsets
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86/cpu/start.S')
-rw-r--r-- | arch/x86/cpu/start.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/start.S b/arch/x86/cpu/start.S index 1634eb1..5adb387 100644 --- a/arch/x86/cpu/start.S +++ b/arch/x86/cpu/start.S @@ -30,6 +30,7 @@ #include <version.h> #include <asm/global_data.h> #include <asm/processor-flags.h> +#include <generated/asm-offsets.h> .section .text .code32 @@ -112,7 +113,7 @@ relocate_code: /* Setup call address of in-RAM copy of board_init_r() */ movl $board_init_r, %ebp - addl (GD_RELOC_OFF * 4)(%edx), %ebp + addl (GENERATED_GD_RELOC_OFF)(%edx), %ebp /* Setup parameters to board_init_r() */ movl %edx, %eax |