[U-Boot] [PATCH] MX31: Cleanup clock function

Stefano Babic sbabic at denx.de
Wed Jul 13 17:31:21 CEST 2011


On 07/13/2011 05:23 PM, Fabio Estevam wrote:
> Hi Stefano,
> 

Hi Fabio,

> On Wed, Jul 13, 2011 at 10:59 AM, Stefano Babic <sbabic at denx.de> wrote:
> ...
>> -extern u32 mx31_get_ipg_clk(void);
>> -#define imx_get_uartclk mx31_get_ipg_clk
>> +enum mxc_clock {
>> +       MXC_ARM_CLK = 0,
>> +       MXC_IPG_CLK,
>> +       MXC_CSPI_CLK,
>> +       MXC_UART_CLK,
> 
> I think the '= 0' can be ommited, right?

Right - it has no influence, but we do not need to explicitely set it. I
will remove in V2.

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


More information about the U-Boot mailing list