[U-Boot] [PATCH v2 2/3] MX5: Add iomux structure

Stefano Babic sbabic at denx.de
Tue May 17 14:53:40 CEST 2011


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
=====================================================================


More information about the U-Boot mailing list