diff mbox

[U-Boot,v2,1/8] mx23: Fix pad voltage selection bit

Message ID 1367503462-24742-2-git-send-email-fabio.estevam@freescale.com
State Superseded
Headers show

Commit Message

Fabio Estevam May 2, 2013, 2:04 p.m. UTC
On mx23 the pad voltage selection bit needs to be always '0', since '1' is a 
reserved value.

For example:

Pin 108, EMI_A06 pin voltage selection:
0= 1.8V (mDDR) or 2.5V (DDR1);
1= reserved.

Fix the pad voltage definitions for the mx23 case.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Newly introduced

 arch/arm/include/asm/arch-mxs/iomux.h |    5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-mxs/iomux.h b/arch/arm/include/asm/arch-mxs/iomux.h
index 4288715..66dcd36 100644
--- a/arch/arm/include/asm/arch-mxs/iomux.h
+++ b/arch/arm/include/asm/arch-mxs/iomux.h
@@ -70,8 +70,13 @@  typedef u32 iomux_cfg_t;
 #define PAD_12MA		2
 #define PAD_16MA		3
 
+#if defined CONFIG_MX28
 #define PAD_1V8			0
 #define PAD_3V3			1
+#else
+#define PAD_1V8			0
+#define PAD_3V3			0
+#endif
 
 #define PAD_NOPULL		0
 #define PAD_PULLUP		1