[U-Boot] [PATCH v3 7/7] colibri_vf: Enable USB support for Colibri Vybrid

maitysanchayan at gmail.com maitysanchayan at gmail.com
Fri Apr 17 11:21:03 CEST 2015


Hello,

On 15-04-16 22:21:11, Marek Vasut wrote:
> On Wednesday, April 15, 2015 at 12:54:28 PM, Sanchayan Maity wrote:
> > Enable USB support on Toradex Colibri Vybrid Modules.
> > 
> > Signed-off-by: Sanchayan Maity <maitysanchayan at gmail.com>
> > ---
> >  board/toradex/colibri_vf/colibri_vf.c | 25 +++++++++++++++++++++--
> >  include/configs/colibri_vf.h          | 37
> > +++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2
> > deletions(-)
> > 
> > diff --git a/board/toradex/colibri_vf/colibri_vf.c
> > b/board/toradex/colibri_vf/colibri_vf.c index e7bc6c1..054e6f9 100644
> > --- a/board/toradex/colibri_vf/colibri_vf.c
> > +++ b/board/toradex/colibri_vf/colibri_vf.c
> > @@ -197,7 +197,8 @@ static void clock_init(void)
> >  	clrsetbits_le32(&ccm->ccgr0, CCM_REG_CTRL_MASK,
> >  			CCM_CCGR0_UART0_CTRL_MASK);
> >  	clrsetbits_le32(&ccm->ccgr1, CCM_REG_CTRL_MASK,
> > -			CCM_CCGR1_PIT_CTRL_MASK | CCM_CCGR1_WDOGA5_CTRL_MASK);
> > +			CCM_CCGR1_PIT_CTRL_MASK | CCM_CCGR1_WDOGA5_CTRL_MASK |
> > +			CCM_CCGR1_USBC0_CTRL_MASK);
> 
> You probably want to flip these CCM regs only if CONFIG_CI_UDC is enabled
> or something along those lines, right ?

Yes, that would be be better. Will send a new corrected patch for this. 
I assume since there are no issues with the rest of the patchset so 
sending a respin of this last patch would do?!

Thanks for the feedback and catching this.

> 
> Best regards,
> Marek Vasut

- Sanchayan.


More information about the U-Boot mailing list