From db666fed383a822b5534492753e33a1c8a7a9f01 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 14 May 2015 20:02:23 -0700 Subject: [PATCH] veyron_brain: Remove unused USB GPIOs Brain doesn't have HOST1_PWR_EN (GPIO0_B3) and 5V_DRV (GPIO7_C5). The only USB power enable pin connected to the AP is USB2_PWR_EN (GPIO0_B4) which controls power for both the physical type-A ports. BUG=none BRANCH=none TEST=built and booted on Brain, both USB host mode ports work Reviewed-on: https://chromium-review.googlesource.com/271309 Reviewed-by: Julius Werner Change-Id: Ibbb4b9b424156eb3db1ccfdd948050c1c067ad3c Signed-off-by: David Hendricks Reviewed-on: https://chromium-review.googlesource.com/284083 --- src/mainboard/google/veyron_brain/mainboard.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mainboard/google/veyron_brain/mainboard.c b/src/mainboard/google/veyron_brain/mainboard.c index 8e2bbb61e3..36333f41cc 100644 --- a/src/mainboard/google/veyron_brain/mainboard.c +++ b/src/mainboard/google/veyron_brain/mainboard.c @@ -43,9 +43,7 @@ static void configure_usb(void) { - gpio_output(GPIO(0, B, 3), 1); /* HOST1_PWR_EN */ - gpio_output(GPIO(0, B, 4), 1); /* USBOTG_PWREN_H */ - gpio_output(GPIO(7, C, 5), 1); /* 5V_DRV */ + gpio_output(GPIO(0, B, 4), 1); /* USB2_PWR_EN */ } static void configure_emmc(void)