]> git.sur5r.net Git - u-boot/commitdiff
imx: mx6 add PAD_CTL_SPEED_LOW for i.MX6SX/UL
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 20 Jul 2015 11:28:30 +0000 (19:28 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 09:05:08 +0000 (11:05 +0200)
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>
arch/arm/include/asm/imx-common/iomux-v3.h

index 5cde90f7ad69de23e6446461a11571e66338f0ea..42098a3f49bcfbccc1f218848520808e15987a0c 100644 (file)
@@ -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)