diff options
author | Eran Matityahu <eran.m@variscite.com> | 2018-01-26 16:09:55 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-02-04 12:14:10 +0100 |
commit | 03073a666513b31c3ed106c3d19f4ea692e3c946 (patch) | |
tree | 4c3bcd4732b1cee578155122bbeef340c1d45fbb /arch | |
parent | 79d08029534c6e43905d410c5804cc2fb9984399 (diff) | |
download | u-boot-03073a666513b31c3ed106c3d19f4ea692e3c946.zip u-boot-03073a666513b31c3ed106c3d19f4ea692e3c946.tar.gz u-boot-03073a666513b31c3ed106c3d19f4ea692e3c946.tar.bz2 |
iomux-v3: Take mx6dqp in consideration for imx_iomux_v3_setup_pad()
We should take the MX6DP and MX6QP options in consideration
when defining imx_iomux_v3_setup_pad().
Based on a patch by Pierluigi Passaro <pierluigi.p@variscite.com>
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/mach-imx/iomux-v3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h b/arch/arm/include/asm/mach-imx/iomux-v3.h index 800d4cf..0c0ccf44 100644 --- a/arch/arm/include/asm/mach-imx/iomux-v3.h +++ b/arch/arm/include/asm/mach-imx/iomux-v3.h @@ -260,7 +260,7 @@ void imx_iomux_gpio_get_function(unsigned int gpio, #if defined(CONFIG_MX6QDL) #define IOMUX_PADS(x) (MX6Q_##x), (MX6DL_##x) #define SETUP_IOMUX_PAD(def) \ -if (is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) { \ +if (is_mx6dq() || is_mx6dqp()) { \ imx_iomux_v3_setup_pad(MX6Q_##def); \ } else { \ imx_iomux_v3_setup_pad(MX6DL_##def); \ |