From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 11 Jul 2016 16:42:31 +0200 Subject: [U-Boot] [PATCH] arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite In-Reply-To: <1466590066-15218-1-git-send-email-oe5hpm@oevsv.at> References: <1466590066-15218-1-git-send-email-oe5hpm@oevsv.at> Message-ID: <5783B057.5000207@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 22/06/2016 12:07, Hannes Schmelzer wrote: > if we build for an i.mx6 (d)ual(l)ite CONFIC_MX6DL we shall use > MX6DL_PAD instead the common MX6_PAD. > > Signed-off-by: Hannes Schmelzer > --- > > arch/arm/include/asm/arch-mx6/mx6-pins.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/include/asm/arch-mx6/mx6-pins.h b/arch/arm/include/asm/arch-mx6/mx6-pins.h > index 4b6bb18..3465205 100644 > --- a/arch/arm/include/asm/arch-mx6/mx6-pins.h > +++ b/arch/arm/include/asm/arch-mx6/mx6-pins.h > @@ -18,7 +18,7 @@ enum { > #include "mx6q_pins.h" > #undef MX6_PAD_DECL > #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ > - MX6_PAD_DECLARE(MX6DL_PAD_,name, pco, mc, mm, sio, si, pc), > + MX6_PAD_DECLARE(MX6DL_PAD_, name, pco, mc, mm, sio, si, pc), > #include "mx6dl_pins.h" > }; > #elif defined(CONFIG_MX6Q) > @@ -30,7 +30,7 @@ enum { > #elif defined(CONFIG_MX6DL) || defined(CONFIG_MX6S) > enum { > #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ > - MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc), > + MX6_PAD_DECLARE(MX6DL_PAD_, name, pco, mc, mm, sio, si, pc), > #include "mx6dl_pins.h" > }; > #elif defined(CONFIG_MX6SL) > Applied to u-boot-imx, -next branch, 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 =====================================================================