summaryrefslogtreecommitdiffstats
path: root/board/teejet/mt_ventoux
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-26 07:00:28 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-26 07:00:28 +0200
commitc68436fa427a69ea308d74c410067507d6c7103b (patch)
tree4f05a23bb3eabfe1eaf1f92bf6f57a6e403ac9a4 /board/teejet/mt_ventoux
parent186fc4db263fc6332d6712be99a9a387087d29c7 (diff)
parentc7d35bef255dedb3ec3856982f042dde514676b0 (diff)
downloadtalos-obmc-uboot-c68436fa427a69ea308d74c410067507d6c7103b.tar.gz
talos-obmc-uboot-c68436fa427a69ea308d74c410067507d6c7103b.zip
Merge remote-tracking branch 'u-boot-ti/master'
Diffstat (limited to 'board/teejet/mt_ventoux')
-rw-r--r--board/teejet/mt_ventoux/mt_ventoux.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/teejet/mt_ventoux/mt_ventoux.c b/board/teejet/mt_ventoux/mt_ventoux.c
index ecb9b6c413..9622a81280 100644
--- a/board/teejet/mt_ventoux/mt_ventoux.c
+++ b/board/teejet/mt_ventoux/mt_ventoux.c
@@ -45,6 +45,8 @@ DECLARE_GLOBAL_DATA_PTR;
#define BUZZER 140
#define SPEAKER 141
+#define USB1_PWR 127
+#define USB2_PWR 149
#ifndef CONFIG_FPGA
#error "The Teejet mt_ventoux must have CONFIG_FPGA enabled"
@@ -247,6 +249,12 @@ int board_init(void)
gpio_direction_output(BUZZER, 0);
gpio_direction_output(SPEAKER, 0);
+ /* Activate USB power */
+ gpio_request(USB1_PWR, "USB1_PWR");
+ gpio_request(USB2_PWR, "USB2_PWR");
+ gpio_direction_output(USB1_PWR, 1);
+ gpio_direction_output(USB2_PWR, 1);
+
return 0;
}
OpenPOWER on IntegriCloud