summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/imx-common
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-20 19:28:30 +0800
committerStefano Babic <sbabic@denx.de>2015-08-02 11:05:08 +0200
commit63ee5687fc68b4a6b824e2565a6ecd6857c04eec (patch)
treecb2591110f9b8188adabb83a72432142f358be39 /arch/arm/include/asm/imx-common
parentdb1c217c8572a3a26a8e894c24348788a005ba45 (diff)
downloadu-boot-imx-63ee5687fc68b4a6b824e2565a6ecd6857c04eec.zip
u-boot-imx-63ee5687fc68b4a6b824e2565a6ecd6857c04eec.tar.gz
u-boot-imx-63ee5687fc68b4a6b824e2565a6ecd6857c04eec.tar.bz2
imx: mx6 add PAD_CTL_SPEED_LOW for i.MX6SX/UL
PAD_CTL_SPEED_LOW for i.MX6SX/UL is (0 << 6) Signed-off-by: Ye.Li <B37916@freescale.com> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/imx-common')
-rw-r--r--arch/arm/include/asm/imx-common/iomux-v3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/imx-common/iomux-v3.h
index 5cde90f..42098a3 100644
--- a/arch/arm/include/asm/imx-common/iomux-v3.h
+++ b/arch/arm/include/asm/imx-common/iomux-v3.h
@@ -98,7 +98,11 @@ typedef u64 iomux_v3_cfg_t;
#define PAD_CTL_ODE (1 << 11)
+#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL)
+#define PAD_CTL_SPEED_LOW (0 << 6)
+#else
#define PAD_CTL_SPEED_LOW (1 << 6)
+#endif
#define PAD_CTL_SPEED_MED (2 << 6)
#define PAD_CTL_SPEED_HIGH (3 << 6)