[U-Boot] [PATCH v3 4/5] usb : musb : Enabling DM6446 (TI DaVinci) USB module power
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sun Jan 11 06:43:10 CET 2009
On 09:41 Sun 04 Jan , Thomas Abraham wrote:
> Enabling DM6446 (TI DaVinci) USB module power and MUSB low-level
> controller hook up to USB core layer.
>
> Signed-off-by: Ravi Babu <ravibabu at ti.com>
> Signed-off-by: Swaminathan S <swami.iyer at ti.com>
> Signed-off-by: Thomas Abraham <t-abraham at ti.com>
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta at ti.com>
> ---
> board/davinci/dvevm/dvevm.c | 1 +
> include/usb.h | 2 +-
> 2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/board/davinci/dvevm/dvevm.c b/board/davinci/dvevm/dvevm.c
> index 5dd081c..bf36f73 100644
> --- a/board/davinci/dvevm/dvevm.c
> +++ b/board/davinci/dvevm/dvevm.c
> @@ -52,6 +52,7 @@ int board_init(void)
> lpsc_on(DAVINCI_LPSC_UART0);
> lpsc_on(DAVINCI_LPSC_TIMER1);
> lpsc_on(DAVINCI_LPSC_GPIO);
> + lpsc_on(DAVINCI_LPSC_USB);
>
> #if !defined(CONFIG_SYS_USE_DSPLINK)
> /* Powerup the DSP */
> diff --git a/include/usb.h b/include/usb.h
> index b8f2fa2..45bf04b 100644
> --- a/include/usb.h
> +++ b/include/usb.h
> @@ -183,7 +183,7 @@ struct usb_device {
> #if defined(CONFIG_USB_UHCI) || defined(CONFIG_USB_OHCI) || \
> defined(CONFIG_USB_EHCI) || defined(CONFIG_USB_OHCI_NEW) || \
> defined(CONFIG_USB_SL811HS) || defined(CONFIG_USB_ISP116X_HCD) || \
> - defined(CONFIG_USB_R8A66597_HCD)
> + defined(CONFIG_USB_R8A66597_HCD) || defined(CONFIG_USB_DAVINCI)
it will be nice to stop to add more and more ifdef and add generic CONFIG
Best Regards,
J.
More information about the U-Boot
mailing list