[U-Boot] [PATCH v2] i.MX28: Check if we are using a valid VBUS for power initialization

Otavio Salvador otavio at ossystems.com.br
Mon Jul 16 23:53:52 CEST 2012


On Mon, Jul 16, 2012 at 6:46 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
...
>>       early_delay(1000);
>> -     if (readl(&power_regs->hw_power_sts) & POWER_STS_VDD5V_GT_VDDIO) {
>> +     if (mx28_valid_vbus() &&
>
> This is still likely to break any device that doesn't source it's 5V power
> supply from USB

I might be missing something here but the conflict function handles
this case and if any is available it boots.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


More information about the U-Boot mailing list