summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Weber <almoeli@gmx.de>2008-01-09 17:04:38 +0100
committerWolfgang Denk <wd@denx.de>2008-01-12 21:19:01 +0100
commit2ad4d3999fe801aa716221d7d9a4c5bdad74783a (patch)
tree96c4b8c1b6d54eb44b4c127177dfd50786311a04
parent00ac50e348d1bace27a174b7f528d113bc7cdf7f (diff)
downloadu-boot-imx-2ad4d3999fe801aa716221d7d9a4c5bdad74783a.zip
u-boot-imx-2ad4d3999fe801aa716221d7d9a4c5bdad74783a.tar.gz
u-boot-imx-2ad4d3999fe801aa716221d7d9a4c5bdad74783a.tar.bz2
MPC5200: don't use hardcoded MBAR address in Bestcomm firmware
Signed-off-by: Oliver Weber <almoeli@gmx.de>
-rw-r--r--cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S b/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
index 1d83fe2..a07c776 100644
--- a/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
+++ b/cpu/mpc5xxx/firmware_sc_task_bestcomm.impl.S
@@ -23,7 +23,7 @@ scEthernetRecv_Entry: /* Task 0 */
.long 0x00000000
.long 0x00000000
.long scEthernetRecv_CSave - taskTable /* Task 0 context save space */
-.long 0xf0000000
+.long CFG_MBAR
.globl scEthernetXmit_Entry
scEthernetXmit_Entry: /* Task 1 */
.long scEthernetXmit_TDT - taskTable /* Task 1 Descriptor Table */
@@ -33,7 +33,7 @@ scEthernetXmit_Entry: /* Task 1 */
.long 0x00000000
.long 0x00000000
.long scEthernetXmit_CSave - taskTable /* Task 1 context save space */
-.long 0xf0000000
+.long CFG_MBAR
.globl scEthernetRecv_TDT
@@ -151,7 +151,7 @@ scEthernetRecv_VarTab: /* Task 0 Variable Table */
.long 0x00000000 /* var[6] */
.long 0x00000000 /* var[7] */
.long 0x00000000 /* var[8] */
-.long 0xf0008800 /* var[9] */
+.long (CFG_MBAR + 0x8800) /* var[9] */
.long 0x00000008 /* var[10] */
.long 0x0000000c /* var[11] */
.long 0x80000000 /* var[12] */
@@ -190,7 +190,7 @@ scEthernetXmit_VarTab: /* Task 1 Variable Table */
.long 0x00000000 /* var[8] */
.long 0x00000000 /* var[9] */
.long 0x00000000 /* var[10] */
-.long 0xf0008800 /* var[11] */
+.long (CFG_MBAR + 0x8800) /* var[11] */
.long 0x00000000 /* var[12] */
.long 0x80000000 /* var[13] */
.long 0x10000000 /* var[14] */