diff options
author | Filip Brozovic <fbrozovic@gmail.com> | 2016-09-14 13:50:39 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-10-04 12:01:14 +0200 |
commit | 514a0f4b680bf93dc8fe0e7d3e9097dfee1625b6 (patch) | |
tree | 427a32cc4c91c62115d4d14080d48734dae859cc /arch/arm/imx-common/iomux-v3.c | |
parent | 29138c6ff80d6e736640050f5e9643637c44abad (diff) |
imx: iomux-v3: fix pad setup on i.MX6DQP when CONFIG_MX6QDL is defined
The CPU detection macro is_mx6dq returns 0 on an i.MX6DQP, so we need to
check for it explicitly in order to correctly initialize the pads when
CONFIG_MX6QDL is defined.
Signed-off-by: Filip Brozovic <fbrozovic@gmail.com>
Diffstat (limited to 'arch/arm/imx-common/iomux-v3.c')
-rw-r--r-- | arch/arm/imx-common/iomux-v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/iomux-v3.c b/arch/arm/imx-common/iomux-v3.c index 66137d148a..2612e09f13 100644 --- a/arch/arm/imx-common/iomux-v3.c +++ b/arch/arm/imx-common/iomux-v3.c @@ -83,7 +83,7 @@ void imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t const *pad_list, #if defined(CONFIG_MX6QDL) stride = 2; - if (!is_mx6dq()) + if (!is_mx6dq() && !is_mx6dqp()) p += 1; #else stride = 1; |