summaryrefslogtreecommitdiff
path: root/target/linux/coldfire/patches/070-m5445x_rambar_init_1.patch
blob: e07eba3ed05e59e887bd2ec8531a165a26604d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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