From: Eric Nelson Date: Tue, 17 Jul 2018 14:02:24 -0700 Subject: [U-Boot] [PATCH] imx: iomux-v3: fix IOMUX_PADS for single-CPU variant Message-ID: <1531861344-19316-1-git-send-email-eric@nelint.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When compiling for a single CPU variant (e.g. MX6Q or MX6DL), the IOMUX constants are named MX6_PAD_blah, not MX6Q_PAD_blah. Fix the macros IOMUX_PADS and SETUP_IOMUX_PAD to reflect this. Signed-off-by: Eric Nelson --- arch/arm/include/asm/mach-imx/iomux-v3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h b/arch/arm/include/asm/mach-imx/iomux-v3.h index bb93058..4be1c53 100644 --- a/arch/arm/include/asm/mach-imx/iomux-v3.h +++ b/arch/arm/include/asm/mach-imx/iomux-v3.h @@ -267,9 +267,9 @@ if (is_mx6dq() || is_mx6dqp()) { \ #define SETUP_IOMUX_PADS(x) \ imx_iomux_v3_setup_multiple_pads(x, ARRAY_SIZE(x)/2) #elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D) -#define IOMUX_PADS(x) MX6Q_##x +#define IOMUX_PADS(x) MX6_##x #define SETUP_IOMUX_PAD(def) \ - imx_iomux_v3_setup_pad(MX6Q_##def); + imx_iomux_v3_setup_pad(MX6_##def); #define SETUP_IOMUX_PADS(x) \ imx_iomux_v3_setup_multiple_pads(x, ARRAY_SIZE(x)) #elif defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) -- 2.7.4