summaryrefslogtreecommitdiff
path: root/src/mainboard/google/veyron_speedy
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/veyron_speedy')
-rw-r--r--src/mainboard/google/veyron_speedy/board.h2
-rw-r--r--src/mainboard/google/veyron_speedy/mainboard.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/google/veyron_speedy/board.h b/src/mainboard/google/veyron_speedy/board.h
index f98854e168..9a2170065a 100644
--- a/src/mainboard/google/veyron_speedy/board.h
+++ b/src/mainboard/google/veyron_speedy/board.h
@@ -23,7 +23,7 @@
#include <boardid.h>
#include <gpio.h>
-#define GPIO_BACKLIGHT GPIO(7, A, 0)
+#define GPIO_BACKLIGHT GPIO(7, A, 2)
#define GPIO_RESET GPIO(0, B, 5)
void setup_chromeos_gpios(void);
diff --git a/src/mainboard/google/veyron_speedy/mainboard.c b/src/mainboard/google/veyron_speedy/mainboard.c
index 5c417544ea..09a90543a3 100644
--- a/src/mainboard/google/veyron_speedy/mainboard.c
+++ b/src/mainboard/google/veyron_speedy/mainboard.c
@@ -151,17 +151,17 @@ void mainboard_power_on_backlight(void)
{
switch (board_id()) {
case 0:
- gpio_output(GPIO_BACKLIGHT, 0); /* BL_EN */
+ gpio_output(GPIO(7, A, 0), 0); /* BL_EN */
gpio_output(GPIO(7, A, 2), 1); /* LCD_BL */
mdelay(10);
- gpio_output(GPIO_BACKLIGHT, 1); /* BL_EN */
+ gpio_output(GPIO(7, A, 0), 1); /* BL_EN */
break;
default:
gpio_output(GPIO(2, B, 4), 1); /* BL_PWR_EN */
mdelay(20);
- gpio_output(GPIO_BACKLIGHT, 1); /* LCD_BL */
+ gpio_output(GPIO(7, A, 0), 1); /* LCD_BL */
mdelay(10);
- gpio_output(GPIO(7, A, 2), 1); /* BL_EN */
+ gpio_output(GPIO_BACKLIGHT, 1); /* BL_EN */
break;
}
}