power: Set PL4 after CPU reset
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
568fae6aba
commit
c1c082d2cc
@ -145,10 +145,10 @@ void espi_event(void) {
|
||||
VW_SET_DEBUG(VW_SMI_N, VWS_HIGH);
|
||||
VW_SET_DEBUG(VW_RCIN_N, VWS_HIGH);
|
||||
|
||||
power_cpu_reset();
|
||||
|
||||
// Host reset complete
|
||||
espi_host_reset = false;
|
||||
|
||||
power_cpu_reset();
|
||||
}
|
||||
last_pltrst_n = wire;
|
||||
}
|
||||
|
@ -346,6 +346,8 @@ void power_cpu_reset(void) {
|
||||
fan_reset();
|
||||
//TODO: reset KBC and touchpad states
|
||||
kbled_reset();
|
||||
// Set PL4
|
||||
power_set_limit();
|
||||
}
|
||||
|
||||
static bool power_button_disabled(void) {
|
||||
|
Reference in New Issue
Block a user