summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/veyron_danger/board.h2
-rw-r--r--src/mainboard/google/veyron_jerry/board.h2
-rw-r--r--src/mainboard/google/veyron_jerry/mainboard.c8
-rw-r--r--src/mainboard/google/veyron_mighty/board.h2
-rw-r--r--src/mainboard/google/veyron_mighty/mainboard.c8
-rw-r--r--src/mainboard/google/veyron_pinky/board.h2
-rw-r--r--src/mainboard/google/veyron_pinky/mainboard.c8
-rw-r--r--src/mainboard/google/veyron_speedy/board.h2
-rw-r--r--src/mainboard/google/veyron_speedy/mainboard.c8
9 files changed, 21 insertions, 21 deletions
diff --git a/src/mainboard/google/veyron_danger/board.h b/src/mainboard/google/veyron_danger/board.h
index 4d0e8bec34..10bcf459b2 100644
--- a/src/mainboard/google/veyron_danger/board.h
+++ b/src/mainboard/google/veyron_danger/board.h
@@ -23,7 +23,7 @@
#include <boardid.h>
#include <gpio.h>
-#define GPIO_BACKLIGHT GPIO(7, A, 3)
+#define GPIO_BACKLIGHT GPIO(7, A, 3)
#define GPIO_RESET GPIO(0, B, 5)
void setup_chromeos_gpios(void);
diff --git a/src/mainboard/google/veyron_jerry/board.h b/src/mainboard/google/veyron_jerry/board.h
index 2f8a341d4f..bf00b1b3e5 100644
--- a/src/mainboard/google/veyron_jerry/board.h
+++ b/src/mainboard/google/veyron_jerry/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_jerry/mainboard.c b/src/mainboard/google/veyron_jerry/mainboard.c
index 6fb3a8f6ea..2b9ec662b1 100644
--- a/src/mainboard/google/veyron_jerry/mainboard.c
+++ b/src/mainboard/google/veyron_jerry/mainboard.c
@@ -151,17 +151,17 @@ void mainboard_power_on_backlight(void)
{
switch (board_id()) {
case 2:
- 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;
}
}
diff --git a/src/mainboard/google/veyron_mighty/board.h b/src/mainboard/google/veyron_mighty/board.h
index 2ca1a41392..32310549e9 100644
--- a/src/mainboard/google/veyron_mighty/board.h
+++ b/src/mainboard/google/veyron_mighty/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_mighty/mainboard.c b/src/mainboard/google/veyron_mighty/mainboard.c
index 5c417544ea..09a90543a3 100644
--- a/src/mainboard/google/veyron_mighty/mainboard.c
+++ b/src/mainboard/google/veyron_mighty/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;
}
}
diff --git a/src/mainboard/google/veyron_pinky/board.h b/src/mainboard/google/veyron_pinky/board.h
index 45590e7a57..72c1e0c2d8 100644
--- a/src/mainboard/google/veyron_pinky/board.h
+++ b/src/mainboard/google/veyron_pinky/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 (board_id() > 0 ? GPIO(0, B, 5) : GPIO(0, B, 2))
void setup_chromeos_gpios(void);
diff --git a/src/mainboard/google/veyron_pinky/mainboard.c b/src/mainboard/google/veyron_pinky/mainboard.c
index ef14c2d6b1..b57314a268 100644
--- a/src/mainboard/google/veyron_pinky/mainboard.c
+++ b/src/mainboard/google/veyron_pinky/mainboard.c
@@ -197,17 +197,17 @@ void mainboard_power_on_backlight(void)
case 0:
case 1:
case 2:
- 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;
}
}
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;
}
}