diff options
author | Scott Collyer <scollyer@google.com> | 2021-09-02 11:01:03 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-02 20:36:19 +0000 |
commit | 20c87cd1de3c0a06be92bf64b01ea9d2584f5b5b (patch) | |
tree | f6ecbcd06c40eef80cbf0b66a374c6e55ad086ba | |
parent | f947750bbc0c968656ca8c484619b58b088a8e77 (diff) | |
download | chrome-ec-20c87cd1de3c0a06be92bf64b01ea9d2584f5b5b.tar.gz |
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 <scollyer@google.com>
Change-Id: I4f5cbe4b20dd2347e71429dadaf9f0c103b222de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139097
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
-rw-r--r-- | baseboard/honeybuns/baseboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |