oryp11: set prochot the right way

This commit is contained in:
Jeremy Soller
2023-02-22 21:01:38 -07:00
parent a0c81f6304
commit 6b80721138
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#include <board/board.h>
#include <board/espi.h>
#include <board/gpio.h>
#include <board/power.h>
#include <ec/ec.h>
void board_init(void) {
@ -19,6 +20,8 @@ void board_init(void) {
}
void board_event(void) {
power_set_limit();
espi_event();
ec_read_post_codes();

View File

@ -65,7 +65,8 @@ void gpio_init() {
GPDRE = BIT(3);
// CC_EN, PCH_DPWROK_EC
GPDRF = BIT(7) | BIT(3);
GPDRG = 0;
// H_PROCHOT_EC
GPDRG = BIT(6);
GPDRH = 0;
// LAN_PWR_EN
GPDRI = BIT(2);