From 20c87cd1de3c0a06be92bf64b01ea9d2584f5b5b Mon Sep 17 00:00:00 2001 From: Scott Collyer Date: Thu, 2 Sep 2021 11:01:03 -0700 Subject: honeybuns: fix cbi write protect check This CL fixes the config options used to ignore the hardware write protection signal to the CBI EEPROM. Honeybuns is only using this to store the user MF prefence bit. The config option that had been used to flip the polarity of WP_L (the default write protect signal) has been removed. BRANCH=quiche BUG=b:164157329 TEST=Verfied that MF preference bit is stored in CBI. Signed-off-by: Scott Collyer Change-Id: I4f5cbe4b20dd2347e71429dadaf9f0c103b222de Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139097 Tested-by: Scott Collyer Reviewed-by: Aseda Aboagye Commit-Queue: Scott Collyer --- baseboard/honeybuns/baseboard.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/baseboard/honeybuns/baseboard.h b/baseboard/honeybuns/baseboard.h index 0618318048..1b56b07f8c 100644 --- a/baseboard/honeybuns/baseboard.h +++ b/baseboard/honeybuns/baseboard.h @@ -84,7 +84,9 @@ #define CONFIG_CBI_EEPROM #define CONFIG_BOARD_VERSION_CBI #define CONFIG_CMD_CBI +#define CONFIG_EEPROM_CBI_WP #define CONFIG_BYPASS_CBI_EEPROM_WP_CHECK +#define GPIO_EC_CBI_WP GPIO_EC_FLASH_WP_ODL #define CBI_FW_MF_MASK BIT(0) #define CBI_FW_MF_PREFERENCE(val) (val & (CBI_FW_MF_MASK)) -- cgit v1.2.1