From b763a4febcf7af67487cf2cf0038eebc61604a5a Mon Sep 17 00:00:00 2001 From: Frank Wu Date: Fri, 15 May 2020 15:21:31 +0800 Subject: mb/google/volteer/halvor: initialize gpio setting and update overridetree.cb Based on schematic and gpio table of halvor, generate gpio setting and overridetree.cb for halvor. BUG=b:153680359 TEST=FW_NAME=halvor emerge-volteer coreboot chromeos-bootimage Verify that the image-halvor.bin is generated successfully. Signed-off-by: Frank Wu Change-Id: Ic6bd018551be58945742d1a6e7f7c5560f218e40 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41426 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/volteer/variants/halvor/include') diff --git a/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h b/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h index 0075826350..fe512d8c4a 100644 --- a/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h +++ b/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h @@ -5,6 +5,8 @@ #include -/* Copied from baseboard and may need to change for the new variant. */ +#undef GPIO_EC_IN_RW +/* EC in RW */ +#define GPIO_EC_IN_RW GPP_F17 #endif -- cgit v1.2.3