summaryrefslogtreecommitdiff
path: root/board/eNET
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-11-08 02:33:18 +0000
committerGraeme Russ <graeme.russ@gmail.com>2011-11-29 21:07:42 +1100
commit311b1a2b38b5317fdff76a5dad9d16fee3f52c79 (patch)
tree16769d92346b0c1a931f3043db08f21cf739b5db /board/eNET
parentfacc9e7bf42e3578d7e7cecf1727f31badeee6bd (diff)
downloadu-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 'board/eNET')
-rw-r--r--board/eNET/eNET_start16.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/eNET/eNET_start16.S b/board/eNET/eNET_start16.S
index 4241f6e..5e3f44c 100644
--- a/board/eNET/eNET_start16.S
+++ b/board/eNET/eNET_start16.S
@@ -30,6 +30,7 @@
#include "config.h"
#include "hardware.h"
#include <asm/arch/sc520.h>
+#include <generated/asm-offsets.h>
.text
.section .start16, "ax"
@@ -46,12 +47,12 @@ board_init16:
movw %ax, %ds
/* Map PAR for Boot Flash (BOOTCS, 512kB @ 0x380000000) */
- movl $(SC520_PAR14 - SC520_MMCR_BASE), %edi
+ movl $GENERATED_SC520_PAR14, %edi
movl $CONFIG_SYS_SC520_BOOTCS_PAR, %eax
movl %eax, (%di)
/* Map PAR for LED, Hex Switches (GPCS6, 20 Bytes @ 0x1000) */
- movl $(SC520_PAR15 - SC520_MMCR_BASE), %edi
+ movl $GENERATED_SC520_PAR15, %edi
movl $CONFIG_SYS_SC520_LLIO_PAR, %eax
movl %eax, (%di)