Re: [U-Boot] [PATCH] omap3evm: Wrap function under CONFIG_USB_OMAP3

2010-11-02 Thread Premi, Sanjeev
  -Original Message-
  From: Premi, Sanjeev 
  Sent: Tuesday, October 19, 2010 6:36 PM
  To: u-boot@lists.denx.de
  Cc: Premi, Sanjeev
  Subject: [PATCH] omap3evm: Wrap function under CONFIG_USB_OMAP3
  
  The function omap3_evm_need_extvbus() is required
  only when USB support is configured.
  
  Wrapped this function in #ifdef CONFIG_USB_OMAP3.
  
  Signed-off-by: Sanjeev Premi pr...@ti.com
  ---

Sandeep,

Pinging for status...

~sanjeev
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] omap3evm: Wrap function under CONFIG_USB_OMAP3

2010-10-19 Thread Sanjeev Premi
The function omap3_evm_need_extvbus() is required
only when USB support is configured.

Wrapped this function in #ifdef CONFIG_USB_OMAP3.

Signed-off-by: Sanjeev Premi pr...@ti.com
---
 board/ti/evm/evm.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
index 9948b9c..73330db 100644
--- a/board/ti/evm/evm.c
+++ b/board/ti/evm/evm.c
@@ -64,6 +64,7 @@ static void omap3_evm_get_revision(void)
}
 }
 
+#ifdef CONFIG_USB_OMAP3
 /*
  * MUSB port on OMAP3EVM Rev = E requires extvbus programming.
  */
@@ -76,6 +77,7 @@ u8 omap3_evm_need_extvbus(void)
 
return retval;
 }
+#endif
 
 /*
  * Routine: board_init
-- 
1.7.2.2

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot