
23 Mar
2015
23 Mar
'15
5:30 a.m.
Hi Bin,
On 10 March 2015 at 04:31, Bin Meng bmeng.cn@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@gmail.com
The code is now 80% less awful. Thank you for taking on this task.
Applied to u-boot/x86.
Regards, Simon