projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1e58e
)
omap3evm: Wrap function under CONFIG_USB_OMAP3
author
Sanjeev Premi
<premi@ti.com>
Thu, 4 Nov 2010 20:02:29 +0000
(16:02 -0400)
committer
Sandeep Paulraj
<s-paulraj@ti.com>
Thu, 4 Nov 2010 20:02:29 +0000
(16:02 -0400)
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>
board/ti/evm/evm.c
patch
|
blob
|
history
diff --git
a/board/ti/evm/evm.c
b/board/ti/evm/evm.c
index 9948b9cd30e7742354f31a829ddd6c8c7da25e5e..73330db156a8db886d6a4aee06a4f1a05948af00 100644
(file)
--- 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