From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 17 May 2011 14:53:40 +0200 Subject: [U-Boot] [PATCH v2 2/3] MX5: Add iomux structure In-Reply-To: <1305584991-13040-2-git-send-email-fabio.estevam@freescale.com> References: <1305584991-13040-1-git-send-email-fabio.estevam@freescale.com> <1305584991-13040-2-git-send-email-fabio.estevam@freescale.com> Message-ID: <4DD26FD4.504@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 05/17/2011 12:29 AM, Fabio Estevam wrote: Hi Fabio, > +struct iomuxc { > + u32 gpr0; > + u32 gpr1; > + u32 gpr2; > + u32 omux0; > + u32 omux1; > + u32 omux2; > + u32 omux3; > + u32 omux4; > +}; It seems to me that the MX51 and the MX53 have a different layout, and we cannot define the structure in this way. The MX51 have only two General Purpose registers, and the address of IOMUX_OBSERVE_MUX_0 overlaps gpr2 on the MX53. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================