[U-Boot] [PATCH v3] mx25: Clean up lowlevel_init
Stefano Babic
sbabic at denx.de
Tue Oct 2 10:31:44 CEST 2012
On 20/08/2012 21:00, Benoît Thébaudeau wrote:
> Clean up mx25 lowlevel_init:
> - Add comments.
> - Do not use write32 repeatedly with the same value in order not to increase
> code size.
> - Make register values configurable.
> - Use macro parameters with default values instead of literal constants.
> - Use defined macros instead of duplicating code.
>
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: John Rigby <jcrigby at gmail.com>
> Cc: Matthias Weisser <weisserm at arcor.de>
> ---
Applied to u-boot-imx, next branch, 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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list