use broken-out patches for the coldfire to make it easier to follow differences again...
[openwrt/svn-archive/archive.git] / target / linux / coldfire / patches / 070-m5445x_rambar_init_1.patch
diff --git a/target/linux/coldfire/patches/070-m5445x_rambar_init_1.patch b/target/linux/coldfire/patches/070-m5445x_rambar_init_1.patch
new file mode 100644 (file)
index 0000000..e07eba3
--- /dev/null
@@ -0,0 +1,25 @@
+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