diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-06-10 11:20:50 +0530 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2010-06-30 21:37:37 +0200 |
commit | 944a4894c047f9fc17d21f1e4ca92d5909b8405b (patch) | |
tree | bdc9fb36b9d2c96e963d56c9bb11fb8d2f5a4b5b /board/ti/evm | |
parent | b5abf644aa6d1d11023df449a251d0f296c45b89 (diff) | |
download | u-boot-imx-944a4894c047f9fc17d21f1e4ca92d5909b8405b.zip u-boot-imx-944a4894c047f9fc17d21f1e4ca92d5909b8405b.tar.gz u-boot-imx-944a4894c047f9fc17d21f1e4ca92d5909b8405b.tar.bz2 |
musb: Program extvbus for OMAP3EVM Rev >= E
OMAP3EVM Rev >=E uses external Vbus supply so setting 'extvbus'
to '1' for OMAP3EVM Rev >=E runtime based on EVM revision.
CC: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Diffstat (limited to 'board/ti/evm')
-rw-r--r-- | board/ti/evm/evm.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index fcc1803..9948b9c 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -65,6 +65,19 @@ static void omap3_evm_get_revision(void) } /* + * MUSB port on OMAP3EVM Rev >= E requires extvbus programming. + */ +u8 omap3_evm_need_extvbus(void) +{ + u8 retval = 0; + + if (get_omap3_evm_rev() >= OMAP3EVM_BOARD_GEN_2) + retval = 1; + + return retval; +} + +/* * Routine: board_init * Description: Early hardware init. */ |