[U-Boot] [PATCH] cm-t35: add USB host support

Marek Vasut marex at denx.de
Sun Dec 2 08:47:43 CET 2012


Dear Nikita Kiryanov,

> Hi Marek Vasut,
> 
> On 11/29/2012 12:36 AM, Marek Vasut wrote:
> > Dear Nikita Kiryanov,
> > 
> > [...]
> > 
> >> +	twl4030_i2c_read_u8(TWL4030_CHIP_GPIO, &val,
> >> +						TWL4030_BASEADD_GPIO + 0x03);
> >> +	val |= 0xC0;
> > 
> > What are these magic values here please?
> 
> val |= 0xC0 is simply setting bits 7 and 6 to 1.
> 
> As for TWL4030_BASEADD_GPIO + 0x03/0x0C, I'll address them in a V2.
[...]

Please do, thank you!

Best regards,
Marek Vasut


More information about the U-Boot mailing list