diff --git a/board/falco/board.c b/board/falco/board.c index 83a0a7317e..6e5da3b1a8 100644 --- a/board/falco/board.c +++ b/board/falco/board.c @@ -56,7 +56,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { x86_power_interrupt}, {"RECOVERY_L", LM4_GPIO_A, (1<<5), GPIO_PULL_UP|GPIO_INT_BOTH, switch_interrupt}, - {"WRITE_PROTECT", LM4_GPIO_A, (1<<4), GPIO_INT_BOTH, + {"WP", LM4_GPIO_A, (1<<4), GPIO_INT_BOTH, switch_interrupt}, /* Other inputs */ diff --git a/board/falco/board.h b/board/falco/board.h index c35f0e948c..53a83b0672 100644 --- a/board/falco/board.h +++ b/board/falco/board.h @@ -33,6 +33,7 @@ #define CONFIG_PWM_FAN #define CONFIG_TEMP_SENSOR #define CONFIG_USB_PORT_POWER_DUMB +#define CONFIG_WP_ACTIVE_HIGH #ifndef __ASSEMBLER__ @@ -80,7 +81,7 @@ enum gpio_signal { GPIO_VCORE_PGOOD, /* Power good on core VR */ GPIO_PCH_EDP_VDD_EN, /* PCH wants EDP enabled */ GPIO_RECOVERY_L, /* Recovery signal from servo */ - GPIO_WRITE_PROTECT, /* Write protect input */ + GPIO_WP, /* Write protect input */ /* Other inputs */ GPIO_FAN_ALERT_L, /* From thermal sensor */ diff --git a/board/peppy/board.c b/board/peppy/board.c index 1417a1e2c7..844eefea91 100644 --- a/board/peppy/board.c +++ b/board/peppy/board.c @@ -56,7 +56,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { x86_power_interrupt}, {"RECOVERY_L", LM4_GPIO_A, (1<<5), GPIO_PULL_UP|GPIO_INT_BOTH, switch_interrupt}, - {"WRITE_PROTECT", LM4_GPIO_A, (1<<4), GPIO_INT_BOTH, + {"WP", LM4_GPIO_A, (1<<4), GPIO_INT_BOTH, switch_interrupt}, /* Other inputs */ diff --git a/board/peppy/board.h b/board/peppy/board.h index dffa909acb..5c3a009f46 100644 --- a/board/peppy/board.h +++ b/board/peppy/board.h @@ -33,6 +33,7 @@ #define CONFIG_PWM_FAN #define CONFIG_TEMP_SENSOR #define CONFIG_USB_PORT_POWER_DUMB +#define CONFIG_WP_ACTIVE_HIGH #ifndef __ASSEMBLER__ @@ -80,7 +81,7 @@ enum gpio_signal { GPIO_VCORE_PGOOD, /* Power good on core VR */ GPIO_PCH_EDP_VDD_EN, /* PCH wants EDP enabled */ GPIO_RECOVERY_L, /* Recovery signal from servo */ - GPIO_WRITE_PROTECT, /* Write protect input */ + GPIO_WP, /* Write protect input */ /* Other inputs */ GPIO_FAN_ALERT_L, /* From thermal sensor */