From 2fb2e77161479aa87051e8b8cf815ea53f4ce695 Mon Sep 17 00:00:00 2001 From: Luotao Fu Date: Tue, 9 Sep 2008 10:19:42 +0200 Subject: [PATCH] --- yaml --- r: 112489 b: refs/heads/master c: 2cf842b8967b5a9989a12e6105da9a82d24e5777 h: refs/heads/master i: 112487: 429a1e6c8064697883086a3e1a2653f2322c2073 v: v3 --- [refs] | 2 +- trunk/arch/arm/plat-mxc/include/mach/mxc.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7828781c098e..cb95a40d8bde 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7113cdcdc1842d797ea99af8b57606a069945f16 +refs/heads/master: 2cf842b8967b5a9989a12e6105da9a82d24e5777 diff --git a/trunk/arch/arm/plat-mxc/include/mach/mxc.h b/trunk/arch/arm/plat-mxc/include/mach/mxc.h index 332eda4dbd3b..f6caab062131 100644 --- a/trunk/arch/arm/plat-mxc/include/mach/mxc.h +++ b/trunk/arch/arm/plat-mxc/include/mach/mxc.h @@ -33,4 +33,10 @@ # define cpu_is_mx27() (0) #endif +#if defined(CONFIG_ARCH_MX3) || defined(CONFIG_ARCH_MX2) +#define CSCR_U(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10) +#define CSCR_L(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10 + 0x4) +#define CSCR_A(n) (IO_ADDRESS(WEIM_BASE_ADDR) + n * 0x10 + 0x8) +#endif + #endif /* __ASM_ARCH_MXC_H__ */