[U-Boot] [Resend PATCH V3] mx31: provide readable WEIM CS accessor

Stefano Babic
2011-10-05T11:51:22Z

On 09/29/2011 05:45 PM, Helmut Raiger wrote:
> setup_weimcs() and some macros are added to support the setup
> for i.MX31 WEIM chip selects. As a compromise between verbosity
> and readability an ASCII-art'ish bit comment is used instead of
> bitfields.
> All i.MX31 boards have been patched to use this approach using a
> helper program to verify the changes.
>
> Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
> ---
> V2:
> added sys_proto.h for mx31
> introduced mxc_setup_weimcs(), which is SOC independent
> not inlined any more (codesize increased by 60-90 bytes)
> V3:
> modified register access according to the coding style
> ---

Applied to u-boot-imx, thanks.

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