aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/coldfire/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/platform/coldfire/head.S')
-rw-r--r--arch/m68k/platform/coldfire/head.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/platform/coldfire/head.S b/arch/m68k/platform/coldfire/head.S
index 38f04a3f6207..c3db70ed33b3 100644
--- a/arch/m68k/platform/coldfire/head.S
+++ b/arch/m68k/platform/coldfire/head.S
@@ -158,6 +158,10 @@ _start:
#if defined(CONFIG_UBOOT)
movel %sp,_init_sp /* save initial stack pointer */
#endif
+#ifdef CONFIG_MBAR
+ movel #CONFIG_MBAR+1,%d0 /* configured MBAR address */
+ movec %d0,%MBAR /* set it */
+#endif
/*
* Do any platform or board specific setup now. Most boards