diff --git a/src/board/system76/lemp12/board.c b/src/board/system76/lemp12/board.c index 7a154ac..2cb8a23 100644 --- a/src/board/system76/lemp12/board.c +++ b/src/board/system76/lemp12/board.c @@ -12,16 +12,10 @@ void board_init(void) { // Make sure charger is in off state, also enables PSYS battery_charger_disable(); - // Allow CPU to boot - gpio_set(&SB_KBCRST_N, true); // Allow backlight to be turned on gpio_set(&BKL_EN, true); // Enable camera gpio_set(&CCD_EN, true); - // Assert SMI#, SCI#, and SWI# - gpio_set(&SCI_N, true); - gpio_set(&SMI_N, true); - gpio_set(&SWI_N, true); } void board_event(void) { diff --git a/src/board/system76/lemp12/gpio.c b/src/board/system76/lemp12/gpio.c index 247426c..0eef087 100644 --- a/src/board/system76/lemp12/gpio.c +++ b/src/board/system76/lemp12/gpio.c @@ -8,7 +8,6 @@ struct Gpio __code ACIN_N = GPIO(B, 0); struct Gpio __code AC_PRESENT = GPIO(E, 1); struct Gpio __code ALL_SYS_PWRGD = GPIO(C, 0); struct Gpio __code BKL_EN = GPIO(H, 2); -struct Gpio __code BT_EN = GPIO(F, 3); struct Gpio __code BUF_PLT_RST_N = GPIO(D, 2); struct Gpio __code CCD_EN = GPIO(D, 1); struct Gpio __code CPU_C10_GATE_N = GPIO(F, 7); @@ -25,16 +24,12 @@ struct Gpio __code PD_EN = GPIO(H, 4); // renamed to PD_POWER_EN struct Gpio __code PM_PWROK = GPIO(C, 6); struct Gpio __code PWR_BTN_N = GPIO(D, 5); struct Gpio __code PWR_SW_N = GPIO(B, 3); -struct Gpio __code SB_KBCRST_N = GPIO(E, 6); -struct Gpio __code SCI_N = GPIO(D, 3); struct Gpio __code SLP_S0_N = GPIO(J, 0); struct Gpio __code SLP_SUS_N = GPIO(J, 3); -struct Gpio __code SMI_N = GPIO(D, 4); struct Gpio __code SUSB_N_PCH = GPIO(H, 6); struct Gpio __code SUSC_N_PCH = GPIO(H, 1); struct Gpio __code SWI_N = GPIO(B, 5); struct Gpio __code VA_EC_EN = GPIO(J, 4); -struct Gpio __code WLAN_EN = GPIO(G, 1); struct Gpio __code WLAN_PWR_EN = GPIO(A, 3); struct Gpio __code XLP_OUT = GPIO(B, 4); // clang-format on diff --git a/src/board/system76/lemp12/include/board/gpio.h b/src/board/system76/lemp12/include/board/gpio.h index 3961086..ecdcae3 100644 --- a/src/board/system76/lemp12/include/board/gpio.h +++ b/src/board/system76/lemp12/include/board/gpio.h @@ -12,7 +12,7 @@ extern struct Gpio __code ACIN_N; extern struct Gpio __code AC_PRESENT; extern struct Gpio __code ALL_SYS_PWRGD; extern struct Gpio __code BKL_EN; -extern struct Gpio __code BT_EN; +#define HAVE_BT_EN 0 extern struct Gpio __code BUF_PLT_RST_N; extern struct Gpio __code CCD_EN; extern struct Gpio __code CPU_C10_GATE_N; @@ -34,18 +34,14 @@ extern struct Gpio __code PD_EN; extern struct Gpio __code PM_PWROK; extern struct Gpio __code PWR_BTN_N; extern struct Gpio __code PWR_SW_N; -extern struct Gpio __code SB_KBCRST_N; -extern struct Gpio __code SCI_N; extern struct Gpio __code SLP_S0_N; extern struct Gpio __code SLP_SUS_N; -extern struct Gpio __code SMI_N; extern struct Gpio __code SUSB_N_PCH; extern struct Gpio __code SUSC_N_PCH; #define HAVE_SUSWARN_N 0 #define HAVE_SUS_PWR_ACK 0 -extern struct Gpio __code SWI_N; extern struct Gpio __code VA_EC_EN; -extern struct Gpio __code WLAN_EN; +#define HAVE_WLAN_EN 0 extern struct Gpio __code WLAN_PWR_EN; extern struct Gpio __code XLP_OUT; // clang-format on