i.MX53 - add WEIM register defines

George Pontis GPontis at z9.com
Fri Feb 8 14:05:02 EST 2013


Subject: i.MX53: Add WEIM register defines ( same as i.MX51 )

Signed-off-by: George Pontis <gpontis at spamcop.net>

diff -Naur bb.a/arch/arm/mach-imx/include/mach/imx53-regs.h
bb.b/arch/arm/mach-imx/include/mach/imx53-regs.h
--- bb.a/arch/arm/mach-imx/include/mach/imx53-regs.h    2013-02-04
06:24:51.000000000 -0800
+++ bb.b/arch/arm/mach-imx/include/mach/imx53-regs.h    2013-02-06
23:14:45.982747680 -0800
@@ -1,6 +1,17 @@
 #ifndef __MACH_IMX53_REGS_H
 #define __MACH_IMX53_REGS_H

+/* WEIM registers */
+#define WEIM_CSxGCR1(n)        (((n) * 0x18) + 0x00)
+#define WEIM_CSxGCR2(n)        (((n) * 0x18) + 0x04)
+#define WEIM_CSxRCR1(n)        (((n) * 0x18) + 0x08)
+#define WEIM_CSxRCR2(n)        (((n) * 0x18) + 0x0c)
+#define WEIM_CSxWCR1(n)        (((n) * 0x18) + 0x10)
+#define WEIM_CSxWCR2(n)        (((n) * 0x18) + 0x14)
+#define WEIM_WCR       0x90
+#define WEIM_WIAR      0x94
+#define WEIM_EAR       0x98
+
 #define MX53_IROM_BASE_ADDR    0x0

 #define MX53_SATA_BASE_ADDR    0x10000000





More information about the barebox mailing list