mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
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>
This commit is contained in:
parent
29138c6ff8
commit
514a0f4b68
@ -83,7 +83,7 @@ void imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t const *pad_list,
|
|||||||
|
|
||||||
#if defined(CONFIG_MX6QDL)
|
#if defined(CONFIG_MX6QDL)
|
||||||
stride = 2;
|
stride = 2;
|
||||||
if (!is_mx6dq())
|
if (!is_mx6dq() && !is_mx6dqp())
|
||||||
p += 1;
|
p += 1;
|
||||||
#else
|
#else
|
||||||
stride = 1;
|
stride = 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user