summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/corsola/display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/corsola/display.c b/src/mainboard/google/corsola/display.c
index 697db0759e..9a8ecc567a 100644
--- a/src/mainboard/google/corsola/display.c
+++ b/src/mainboard/google/corsola/display.c
@@ -123,6 +123,9 @@ static struct panel_description *get_active_panel(void)
int configure_display(void)
{
+ /* Set up backlight control pins as output pin and power-off by default */
+ backlight_control();
+
const struct panel_description *panel = get_active_panel();
if (!panel)
@@ -130,9 +133,6 @@ int configure_display(void)
printk(BIOS_INFO, "%s: Starting display init\n", __func__);
- /* Set up backlight control pins as output pin and power-off by default */
- backlight_control();
-
if (panel->power_on)
panel->power_on();