From: Stefano Babic Date: Tue, 4 Oct 2016 10:53:39 +0200 Subject: [U-Boot] [PATCH] imx: iomux-v3: fix pad setup on i.MX6DQP when CONFIG_MX6QDL is defined In-Reply-To: <1473853839-11124-1-git-send-email-fbrozovic@gmail.com> References: <1473853839-11124-1-git-send-email-fbrozovic@gmail.com> Message-ID: <61526cb1-272a-3d3a-9770-e8d144deca0b@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14/09/2016 13:50, Filip Brozovic wrote: > 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 > --- > arch/arm/imx-common/iomux-v3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/imx-common/iomux-v3.c b/arch/arm/imx-common/iomux-v3.c > index 66137d1..2612e09 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; > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================