summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-05-03 04:37:07 +0000
committerStefano Babic <sbabic@denx.de>2013-05-05 17:08:46 +0200
commit9aee34ecabef065cfec76ce736bedfb1fcf77b03 (patch)
treeb3c2d7fc944ae6e67012ae64632fe06c3a9cbc18 /arch
parent6cb83829a013ed2631cba5d5c9bf42eaf2380131 (diff)
downloadu-boot-imx-9aee34ecabef065cfec76ce736bedfb1fcf77b03.zip
u-boot-imx-9aee34ecabef065cfec76ce736bedfb1fcf77b03.tar.gz
u-boot-imx-9aee34ecabef065cfec76ce736bedfb1fcf77b03.tar.bz2
mx23: Fix pad voltage selection bit
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> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mxs/iomux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mxs/iomux.h b/arch/arm/include/asm/arch-mxs/iomux.h
index 4288715..d919fb2 100644
--- a/arch/arm/include/asm/arch-mxs/iomux.h
+++ b/arch/arm/include/asm/arch-mxs/iomux.h
@@ -71,7 +71,11 @@ typedef u32 iomux_cfg_t;
#define PAD_16MA 3
#define PAD_1V8 0
+#if defined(CONFIG_MX28)
#define PAD_3V3 1
+#else
+#define PAD_3V3 0
+#endif
#define PAD_NOPULL 0
#define PAD_PULLUP 1