[U-Boot] [PATCH] musb: Add host support for DM365 EVM

Remy Bohmer linux at bohmer.net
Mon Jan 11 09:31:59 CET 2010


Hi,

>> @@ -41,10 +42,24 @@ struct davinci_usb_regs *dregs;
>>  static u8 phy_on(void)
>>  {
>>        u32 timeout;
>> +       u32 val;
>
> This variable is only used when  DAVINCI_DM365EVM is set, so it will
> produce a warning if it is not set.
>
> <MSP> - We could either initialize the variable or guard its declaration with the DAVINCI_DM365EVM macro. Please let me know what is preferred so that I could update accordingly.

Initialise it will leave it unused as well, so I guess to use the macro.

Remy


More information about the U-Boot mailing list