openwrt/target/linux/coldfire/patches/070-m5445x_rambar_init_1.patch

26 lines
768 B
Diff
Raw Normal View History

From 1667ce157c8cc2ffc13f1e31c64982d0af95d5a5 Mon Sep 17 00:00:00 2001
From: Kurt Mahan <kmahan@freescale.com>
Date: Wed, 25 Jun 2008 01:34:30 -0600
Subject: [PATCH] Disable RAMBAR1 on initialization.
LTIBName: m5445x-rambar-init
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
---
arch/m68k/coldfire/head.S | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
--- a/arch/m68k/coldfire/head.S
+++ b/arch/m68k/coldfire/head.S
@@ -296,9 +296,8 @@ ENTRY(__start)
movel %a0,%usp
#if defined(CONFIG_M5445X)
-/* JKM -- don't enable it currently -- fix */
-/* movel #(MCF_RAMBAR1 + 0x221), %d0 */
-/* movec %d0, %rambar1 */
+ movel #0x80000000, %d0
+ movec %d0, %rambar1
#elif defined(CONFIG_M547X_8X)
movel #MCF_MBAR, %d0
movec %d0, %mbar