[U-Boot] Cleanup of CCGR registers (was [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support)

Stefano Babic sbabic at denx.de
Wed Sep 19 09:31:08 CEST 2012


On 19/09/2012 01:56, Eric Nelson wrote:
> On 09/18/2012 06:50 AM, Stefano Babic wrote:
>> On 18/09/2012 15:28, Eric Nelson wrote:
>>>
>>> Do you have a reference to the patch so I can follow precedent?
>>
>> See http://patchwork.ozlabs.org/patch/177403/
>>
>> Check changes in .h.
>>
> 
> Should I remove the un-named macros?
>     MXC_CCM_CCGRx_CGy_OFFSET
>     MXC_CCM_CCGRx_CGy_MASK
> 
> It appears that only arch/arm/cpu/armv7/mx6/clock.c is
> using them.

Any cleanup to make code better understandable is welcome !

As I see, most macros are named in clock.c, with the exception in
enable_usboh3_clk().

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