[PATCH 2/3] imx: add reg definitions for imx25 and imx35 boot source.
Marc Reilly
marc at cpdesign.com.au
Sun Jan 9 23:36:51 EST 2011
Signed-off-by: Marc Reilly <marc at cpdesign.com.au>
---
arch/arm/mach-imx/include/mach/imx25-regs.h | 2 ++
arch/arm/mach-imx/include/mach/imx35-regs.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/imx25-regs.h b/arch/arm/mach-imx/include/mach/imx25-regs.h
index ac590d9..e01fa86 100644
--- a/arch/arm/mach-imx/include/mach/imx25-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx25-regs.h
@@ -79,6 +79,8 @@
#define PDR0_AUTO_CON (1 << 0)
#define PDR0_PER_SEL (1 << 26)
+#define CCM_RCSR_MEM_CTRL_SHIFT 30
+
/*
* Adresses and ranges of the external chip select lines
*/
diff --git a/arch/arm/mach-imx/include/mach/imx35-regs.h b/arch/arm/mach-imx/include/mach/imx35-regs.h
index 75825e5..7da911b 100644
--- a/arch/arm/mach-imx/include/mach/imx35-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx35-regs.h
@@ -79,6 +79,8 @@
#define CCM_CGR1_SDHC1_SHIFT 26
#define CCM_CGR2_USB_SHIFT 22
+#define CCM_RCSR_MEM_CTRL_SHIFT 25
+
#define PDR0_AUTO_MUX_DIV(x) (((x) & 0x7) << 9)
#define PDR0_CCM_PER_AHB(x) (((x) & 0x7) << 12)
#define PDR0_CON_MUX_DIV(x) (((x) & 0xf) << 16)
--
1.7.1
More information about the barebox
mailing list