diff options
author | Caveh Jalali <caveh@chromium.org> | 2020-11-09 18:30:09 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-11 02:01:51 +0000 |
commit | 2af47a9f36ae41df32ef498f12f82bd7034073c1 (patch) | |
tree | 0090aa86d78f16795a2e3bd0427534feff33d312 | |
parent | 6cd9c9b453f2e7fb93c16eed832022348d5d1df2 (diff) | |
download | chrome-ec-2af47a9f36ae41df32ef498f12f82bd7034073c1.tar.gz |
lingcod: enable EFS2
This enables EFS2 on lingcod.
BRANCH=volteer
BUG=b:172877836
TEST=buildall succeeds
Change-Id: Ic3cc5c508f83d8679f11ec8e268b7f7822150ba4
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2528700
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | board/lingcod/board.h | 3 | ||||
-rw-r--r-- | board/lingcod/gpio.inc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/board/lingcod/board.h b/board/lingcod/board.h index 1f6aa60ea8..00fb342c8a 100644 --- a/board/lingcod/board.h +++ b/board/lingcod/board.h @@ -14,6 +14,8 @@ /* Optional features */ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */ +#define CONFIG_VBOOT_EFS2 + #define CONFIG_POWER_BUTTON #undef CONFIG_UART_TX_BUF_SIZE @@ -88,6 +90,7 @@ #define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW #define GPIO_LID_OPEN GPIO_EC_LID_OPEN #define GPIO_KBD_KSO2 GPIO_EC_KSO_02_INV +#define GPIO_PACKET_MODE_EN GPIO_EC_H1_PACKET_MODE #define GPIO_PCH_WAKE_L GPIO_EC_PCH_WAKE_ODL #define GPIO_PCH_PWRBTN_L GPIO_EC_PCH_PWR_BTN_ODL #define GPIO_PCH_RSMRST_L GPIO_EC_PCH_RSMRST_ODL diff --git a/board/lingcod/gpio.inc b/board/lingcod/gpio.inc index 57002ebd3b..52bce7b2ce 100644 --- a/board/lingcod/gpio.inc +++ b/board/lingcod/gpio.inc @@ -85,6 +85,7 @@ GPIO(USB_C1_OC_ODL, PIN(5, 0), GPIO_ODR_HIGH) UNIMPLEMENTED(USB_C1_LS_EN) /* Misc Signals */ +GPIO(EC_H1_PACKET_MODE, PIN(7, 5), GPIO_OUT_LOW) /* H1 Packet Mode */ /* * eDP backlight - both PCH and EC have enable pins that must be high |