Skip to content
Snippets Groups Projects
Commit 514a0f4b authored by Filip Brozovic's avatar Filip Brozovic Committed by Stefano Babic
Browse files

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: default avatarFilip Brozovic <fbrozovic@gmail.com>
parent 29138c6f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment