From 40c8cc9cde3096e83e9908dd353fb8be9817a6d8 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 20 Dec 2022 16:20:18 -0600 Subject: mb/google/reef: Add method to set GPIOs in romstage Add method variant_romstage_gpio_table() with empty weak implementation to allow variants to override as needed for touchscreen power sequencing (to be implemented in a subsequent commit). Call method in romstage to program any GPIOs the variant may need to set. TEST=tested with rest of patch train Change-Id: Id3ab412183e5c5d534b2e1dea3222c729c25118b Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/71151 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/google/reef/variants/baseboard/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google/reef/variants/baseboard/Makefile.inc') diff --git a/src/mainboard/google/reef/variants/baseboard/Makefile.inc b/src/mainboard/google/reef/variants/baseboard/Makefile.inc index 63b03a6118..1484261aed 100644 --- a/src/mainboard/google/reef/variants/baseboard/Makefile.inc +++ b/src/mainboard/google/reef/variants/baseboard/Makefile.inc @@ -1,5 +1,6 @@ bootblock-y += gpio.c +romstage-y += gpio.c romstage-y += memory.c ramstage-y += gpio.c -- cgit v1.2.3