mb/google/guybrush: Add GPIO EC in RW to early GPIO tables

Before attempting another commit 6260bf71 (vboot_logic: Set
VB2_CONTEXT_EC_TRUSTED in verstage_main), ensure that guybrush programs
GPIO_EC_IN_RW (GPIO_91) as an early GPIO so that it can be read from in
verstage.

Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Change-Id: Ia6dcb225bbca89f3a873aad75a7d67625cdd3742
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58192
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Hsuan Ting Chen
2021-10-08 15:31:00 +08:00
committed by Felix Held
parent d6606f1745
commit 3bfe46c2b0

View File

@ -226,6 +226,10 @@ static const struct soc_amd_gpio early_gpio_table[] = {
PAD_NF(GPIO_141, UART0_RXD, PULL_NONE),
/* UART0_TXD */
PAD_NF(GPIO_143, UART0_TXD, PULL_NONE),
/* Support EC trusted */
/* SD_EX_PRSNT_L(Guybrush BoardID 1 only) / EC_IN_RW_OD */
PAD_GPI(GPIO_91, PULL_NONE),
};
/* Power-on timing requirements: