Enable NVIDIA GPU and ACPI backlight

Change-Id: If92c122ab2eaf0ef6fad13e2fe42b0532a25ee15
This commit is contained in:
Jeremy Soller
2020-10-16 11:56:32 -06:00
parent bd046ce5dd
commit d58c413a7a
7 changed files with 61 additions and 32 deletions

View File

@@ -3,13 +3,9 @@
#include <bootblock_common.h>
#include <gpio.h>
#include "gpio.h"
#if CONFIG(DRIVERS_SYSTEM76_DGPU)
#include <drivers/system76/dgpu/bootblock.c>
#endif
#include <drivers/system76/dgpu/bootblock.c>
void bootblock_mainboard_init(void) {
gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
#if CONFIG(DRIVERS_SYSTEM76_DGPU)
dgpu_power_enable(1);
#endif
}