oryp11: set prochot the right way
This commit is contained in:
@ -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();
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user