summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/trogdor/chromeos.c3
-rw-r--r--src/mainboard/google/trogdor/mainboard.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c
index 989bf6902e..e93432f853 100644
--- a/src/mainboard/google/trogdor/chromeos.c
+++ b/src/mainboard/google/trogdor/chromeos.c
@@ -12,6 +12,7 @@ void setup_chromeos_gpios(void)
gpio_input_pullup(GPIO_SD_CD_L);
gpio_input_irq(GPIO_H1_AP_INT, IRQ_TYPE_RISING_EDGE, GPIO_PULL_UP);
gpio_output(GPIO_AMP_ENABLE, 0);
+ gpio_output(GPIO_BACKLIGHT_ENABLE, 0);
}
void fill_lb_gpios(struct lb_gpios *gpios)
@@ -27,6 +28,8 @@ void fill_lb_gpios(struct lb_gpios *gpios)
"SD card detect"},
{GPIO_AMP_ENABLE.addr, ACTIVE_HIGH, gpio_get(GPIO_AMP_ENABLE),
"speaker enable"},
+ {GPIO_BACKLIGHT_ENABLE.addr, ACTIVE_HIGH,
+ gpio_get(GPIO_BACKLIGHT_ENABLE), "backlight"},
};
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c
index 0f469e065b..7465c63627 100644
--- a/src/mainboard/google/trogdor/mainboard.c
+++ b/src/mainboard/google/trogdor/mainboard.c
@@ -102,9 +102,6 @@ static void display_startup(void)
return;
printk(BIOS_INFO, "display init!\n");
-
- /* Configure backlight */
- gpio_output(GPIO_BACKLIGHT_ENABLE, 1);
display_init(&ed);
fb_new_framebuffer_info_from_edid(&ed, (uintptr_t)0);
} else