summaryrefslogtreecommitdiffstats
path: root/board/ti
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2010-11-04 16:02:29 -0400
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-04 16:02:29 -0400
commit63f42400e50c7ebede2974b421db765324ad8c8e (patch)
treef67ea28578566b83cbec613b8351046328056224 /board/ti
parent6a1e58eb6aa691ad45a36c57f1f241c25940fa0b (diff)
downloadblackbird-obmc-uboot-63f42400e50c7ebede2974b421db765324ad8c8e.tar.gz
blackbird-obmc-uboot-63f42400e50c7ebede2974b421db765324ad8c8e.zip
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 <premi@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/evm/evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
index 9948b9cd30..73330db156 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
OpenPOWER on IntegriCloud