[U-Boot] [PATCH v3 7/7] colibri_vf: Enable USB support for Colibri Vybrid
Marek Vasut
marex at denx.de
Thu Apr 16 22:21:11 CEST 2015
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 ?
Best regards,
Marek Vasut
More information about the U-Boot
mailing list