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/sc520/sc520_car.S | |
parent | facc9e7bf42e3578d7e7cecf1727f31badeee6bd (diff) |
sc520: Create arch asm-offsets
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86/cpu/sc520/sc520_car.S')
-rw-r--r-- | arch/x86/cpu/sc520/sc520_car.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/sc520/sc520_car.S b/arch/x86/cpu/sc520/sc520_car.S index 7cac4d1def..c04cc1f116 100644 --- a/arch/x86/cpu/sc520/sc520_car.S +++ b/arch/x86/cpu/sc520/sc520_car.S @@ -24,6 +24,7 @@ #include <config.h> #include <asm/processor-flags.h> #include <asm/arch/sc520.h> +#include <generated/asm-offsets.h> .section .text @@ -55,7 +56,7 @@ car_init: /* Configure Cache-As-RAM PAR */ movl $CONFIG_SYS_SC520_CAR_PAR, %eax - movl $SC520_PAR2, %edi + movl $(SC520_MMCR_BASE + GENERATED_SC520_PAR2), %edi movl %eax, (%edi) /* Trash the cache then turn it on */ |