]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00179426-1 i.mx6: iomux: NO_PAD_I/NO_PAD_MUX not defined
authorJason Liu <r64343@freescale.com>
Wed, 11 Apr 2012 09:16:36 +0000 (17:16 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:24 +0000 (08:34 +0200)
NO_PAD_I/NO_PAD_MUX not defined, which will cause build error
According to iomux-v3.h, the NO_PAD_I/NO_PAD_MUX should be 0
for the pins which does not have PAD/MUX config.

Signed-off-by: Jason Liu <r64343@freescale.com>
arch/arm/plat-mxc/include/mach/iomux-mx6q.h
arch/arm/plat-mxc/include/mach/iomux-v3.h

index ec6b2281e76ddeb7d6dfcebf38f3e0ecf0d8630a..99440673982385c0aefb2cf1bcf6e64c1acac575 100644 (file)
@@ -39,8 +39,6 @@ typedef enum iomux_config {
        IOMUX_CONFIG_GPIO,      /* added to help user use GPIO mode */
        } iomux_pin_cfg_t;
 
-#define NON_MUX_I       0x3FF
-#define NON_PAD_I       0x7FF
 #define MX6Q_CCM_CLK0_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE |    \
                PAD_CTL_PUS_47K_UP | PAD_CTL_SPEED_LOW |        \
                PAD_CTL_DSE_80ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)
index 60fb82ecbc1b59e215b25975593143ef30b12481..1ff80f9fff555330c954c6cf8ade93daf9dd0e3c 100644 (file)
@@ -86,6 +86,8 @@ typedef u64 iomux_v3_cfg_t;
  * Use to set PAD control
  */
 #define NO_PAD_CTRL                    (1 << 17)
+#define NO_PAD_I                       0
+#define NO_MUX_I                       0
 #ifdef CONFIG_SOC_IMX6Q
 #define PAD_CTL_HYS                    (1 << 16)