1 From 6651009d31bfcb8e364e25e944618465f510bd0b Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Tue, 24 Jun 2008 21:23:58 -0600
4 Subject: [PATCH] Update SRAM/RAMBAR1 configuration for M5445x.
6 LTIBName: m5445x-rambar-config
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
9 arch/m68k/coldfire/head.S | 5 +++--
10 include/asm-m68k/coldfire.h | 9 +++++++--
11 2 files changed, 10 insertions(+), 4 deletions(-)
13 --- a/arch/m68k/coldfire/head.S
14 +++ b/arch/m68k/coldfire/head.S
15 @@ -285,8 +285,9 @@ ENTRY(__start)
18 #if defined(CONFIG_M5445X)
19 - movel #(MCF_RAMBAR1 + 0x221), %d0
21 +/* JKM -- don't enable it currently -- fix */
22 +/* movel #(MCF_RAMBAR1 + 0x221), %d0 */
23 +/* movec %d0, %rambar1 */
24 #elif defined(CONFIG_M547X_8X)
27 --- a/include/asm-m68k/coldfire.h
28 +++ b/include/asm-m68k/coldfire.h
31 #if defined(CONFIG_M5445X)
33 -#define MCF_RAMBAR1 0x80000000
34 -#define MCF_SRAM 0x80000000
36 + * Even though RAMBAR1 should be in the 0x8xxxxxxx range there
37 + * is a problem that needs to be resolved. Currently head.S
38 + * disables SRAM/RAMBAR1.
40 +#define MCF_RAMBAR1 0x40000000
41 +#define MCF_SRAM 0x40000000
42 #elif defined(CONFIG_M547X_8X)
43 #define MCF_MBAR 0xF0000000
44 #define MCF_MMUBAR 0xF1000000