[PATCH 1/2] ARM i.MX31: cleanup MX31_ prefix: fix leftover IOMUXC_BASE defines

Andreas Pretzsch apr at cn-eng.de
Mon May 6 17:21:27 EDT 2013


The prefix/cleanup series
	ad09b59f8bb58c27e3872b41f41beb1b9eb1aeb1
	a8c6359667704ffc3bd2249dd76f3fbbb2134b55
	4c53af062b38f15f6bc40c586e5760e640f5b8b1
missed a few unprefixed IOMUXC_BASE define users. Fix these.

Signed-off-by: Andreas Pretzsch <apr at cn-eng.de>
---
 arch/arm/mach-imx/include/mach/imx31-regs.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/imx31-regs.h b/arch/arm/mach-imx/include/mach/imx31-regs.h
index be3e4c1..599f800 100644
--- a/arch/arm/mach-imx/include/mach/imx31-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx31-regs.h
@@ -162,9 +162,9 @@
 #define MX31_PDR0_MAX_PODF(x)	(((x) & 0x7) << 3)
 #define MX31_PDR0_MCU_PODF(x)	((x) & 0x7)
 
-#define MX31_IOMUXC_GPR	(IOMUXC_BASE + 0x8)
-#define MX31_IOMUXC_SW_MUX_CTL(x)	(IOMUXC_BASE + 0xc + (x) * 4)
-#define MX31_IOMUXC_SW_PAD_CTL(x)	(IOMUXC_BASE + 0x154 + (x) * 4)
+#define MX31_IOMUXC_GPR	(MX31_IOMUXC_BASE_ADDR + 0x8)
+#define MX31_IOMUXC_SW_MUX_CTL(x)	(MX31_IOMUXC_BASE_ADDR + 0xc + (x) * 4)
+#define MX31_IOMUXC_SW_PAD_CTL(x)	(MX31_IOMUXC_BASE_ADDR + 0x154 + (x) * 4)
 
 /*
  * Signal Multiplexing (IOMUX)
-- 
1.7.10.4




More information about the barebox mailing list