[U-Boot] [PATCH] x86: quark: MRC codes clean up

Simon Glass sjg at chromium.org
Mon Mar 23 05:30:28 CET 2015


Hi Bin,

On 10 March 2015 at 04:31, Bin Meng <bmeng.cn at gmail.com> wrote:
> This patch cleans up the quark MRC codes coding style by:
> - Remove BIT0/1../31 defines from mrc_util.h
> - Create names for the documented BITs and use them
> - For undocumented single BITs, use (1 << n) directly
> - For undocumented ORed BITs, use the hex number directly
> - Remove redundancy parenthesis all over the codes
> - Replace to use lower case hex numbers
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

The code is now 80% less awful. Thank you for taking on this task.

Applied to u-boot/x86.

Regards,
Simon


More information about the U-Boot mailing list