diff --git a/src/board/system76/darp5/power.c b/src/board/system76/darp5/power.c index 482d76f..0b36c78 100644 --- a/src/board/system76/darp5/power.c +++ b/src/board/system76/darp5/power.c @@ -8,7 +8,6 @@ #include #include #include -#include // Platform does not currently support Deep Sx #define DEEP_SX 0 @@ -257,15 +256,6 @@ void power_event(void) { // Always switch to ds5 if EC is running if (power_state == POWER_STATE_DEFAULT) { power_on_ds5(); - - // If power on key is not found - if (BRAM[0x76] != 0xEC) { - // Set the key - BRAM[0x76] = 0xEC; - - // Power on system - power_on_s5(); - } } // Check if the adapter line goes low diff --git a/src/board/system76/darp5/scratch.c b/src/board/system76/darp5/scratch.c index 6c44254..e3c4029 100644 --- a/src/board/system76/darp5/scratch.c +++ b/src/board/system76/darp5/scratch.c @@ -3,7 +3,6 @@ #include #include -#include #include // Include scratch ROM @@ -23,9 +22,6 @@ void scratch_trampoline(void) { //TODO: Clear keyboard presses - // Clear power on key - BRAM[0x76] = 0; - // Start watchdog timer smfi_watchdog(); diff --git a/src/board/system76/galp3-c/power.c b/src/board/system76/galp3-c/power.c index 2ae4c5b..03855bf 100644 --- a/src/board/system76/galp3-c/power.c +++ b/src/board/system76/galp3-c/power.c @@ -7,7 +7,6 @@ #include #include #include -#include // Platform does not currently support Deep Sx #define DEEP_SX 0 @@ -256,15 +255,6 @@ void power_event(void) { // Always switch to ds5 if EC is running if (power_state == POWER_STATE_DEFAULT) { power_on_ds5(); - - // If power on key is not found - if (BRAM[0x76] != 0xEC) { - // Set the key - BRAM[0x76] = 0xEC; - - // Power on system - power_on_s5(); - } } // Check if the adapter line goes low diff --git a/src/board/system76/galp3-c/scratch.c b/src/board/system76/galp3-c/scratch.c index 6c44254..e3c4029 100644 --- a/src/board/system76/galp3-c/scratch.c +++ b/src/board/system76/galp3-c/scratch.c @@ -3,7 +3,6 @@ #include #include -#include #include // Include scratch ROM @@ -23,9 +22,6 @@ void scratch_trampoline(void) { //TODO: Clear keyboard presses - // Clear power on key - BRAM[0x76] = 0; - // Start watchdog timer smfi_watchdog(); diff --git a/src/board/system76/lemp9/power.c b/src/board/system76/lemp9/power.c index 7eba65d..c4393e7 100644 --- a/src/board/system76/lemp9/power.c +++ b/src/board/system76/lemp9/power.c @@ -7,7 +7,6 @@ #include #include #include -#include // Platform does not currently support Deep Sx #define DEEP_SX 0 @@ -256,15 +255,6 @@ void power_event(void) { // Always switch to ds5 if EC is running if (power_state == POWER_STATE_DEFAULT) { power_on_ds5(); - - // If power on key is not found - if (BRAM[0x76] != 0xEC) { - // Set the key - BRAM[0x76] = 0xEC; - - // Power on system - power_on_s5(); - } } // Check if the adapter line goes low diff --git a/src/board/system76/lemp9/scratch.c b/src/board/system76/lemp9/scratch.c index 3e78b4a..e14654d 100644 --- a/src/board/system76/lemp9/scratch.c +++ b/src/board/system76/lemp9/scratch.c @@ -3,7 +3,6 @@ #include #include -#include #include // Include scratch ROM @@ -23,9 +22,6 @@ void scratch_trampoline(void) { //TODO: Clear keyboard presses - // Clear power on key - BRAM[0x76] = 0; - // Start watchdog timer smfi_watchdog();