ar71xx: ag71xx: use dma_unmap_single to unmap frames
[openwrt.git] / target / linux / coldfire / patches / 063-m5445x_rambar_config.patch
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.
5
6 LTIBName: m5445x-rambar-config
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
8 ---
9 arch/m68k/coldfire/head.S | 5 +++--
10 include/asm-m68k/coldfire.h | 9 +++++++--
11 2 files changed, 10 insertions(+), 4 deletions(-)
12
13 --- a/arch/m68k/coldfire/head.S
14 +++ b/arch/m68k/coldfire/head.S
15 @@ -285,8 +285,9 @@ ENTRY(__start)
16 movel %a0,%usp
17
18 #if defined(CONFIG_M5445X)
19 - movel #(MCF_RAMBAR1 + 0x221), %d0
20 - movec %d0, %rambar1
21 +/* JKM -- don't enable it currently -- fix */
22 +/* movel #(MCF_RAMBAR1 + 0x221), %d0 */
23 +/* movec %d0, %rambar1 */
24 #elif defined(CONFIG_M547X_8X)
25 movel #MCF_MBAR, %d0
26 movec %d0, %mbar
27 --- a/include/asm-m68k/coldfire.h
28 +++ b/include/asm-m68k/coldfire.h
29 @@ -3,8 +3,13 @@
30
31 #if defined(CONFIG_M5445X)
32 #define MCF_MBAR 0x0
33 -#define MCF_RAMBAR1 0x80000000
34 -#define MCF_SRAM 0x80000000
35 +/*
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.
39 + */
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
This page took 0.041667 seconds and 5 git commands to generate.