From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 02 Aug 2015 11:17:32 +0200 Subject: [U-Boot] [PATCH v3 10/15] imx: mx6 add PAD_CTL_SPEED_LOW for i.MX6SX/UL In-Reply-To: <1437391715-1344-11-git-send-email-Peng.Fan@freescale.com> References: <1437391715-1344-1-git-send-email-Peng.Fan@freescale.com> <1437391715-1344-11-git-send-email-Peng.Fan@freescale.com> Message-ID: <55BDE02C.4070504@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 20/07/2015 13:28, Peng Fan wrote: > PAD_CTL_SPEED_LOW for i.MX6SX/UL is (0 << 6) > > Signed-off-by: Ye.Li > Signed-off-by: Peng Fan > --- > > Changes v3: > none > > Changes v2: > none > > arch/arm/include/asm/imx-common/iomux-v3.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/imx-common/iomux-v3.h > index 5cde90f..42098a3 100644 > --- a/arch/arm/include/asm/imx-common/iomux-v3.h > +++ b/arch/arm/include/asm/imx-common/iomux-v3.h > @@ -98,7 +98,11 @@ typedef u64 iomux_v3_cfg_t; > > #define PAD_CTL_ODE (1 << 11) > > +#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) > +#define PAD_CTL_SPEED_LOW (0 << 6) > +#else > #define PAD_CTL_SPEED_LOW (1 << 6) > +#endif > #define PAD_CTL_SPEED_MED (2 << 6) > #define PAD_CTL_SPEED_HIGH (3 << 6) > > 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 =====================================================================