summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/variants/baseboard/Makefile.inc
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2022-12-20 16:20:18 -0600
committerMartin L Roth <gaumless@gmail.com>2022-12-22 20:35:01 +0000
commit40c8cc9cde3096e83e9908dd353fb8be9817a6d8 (patch)
tree586a58c6a9b7b6111f9647f4192d04a7165c92f4 /src/mainboard/google/reef/variants/baseboard/Makefile.inc
parent0d54a65819c5ddd2dd4fe6543f4f60891b9d950c (diff)
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 <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71151 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/reef/variants/baseboard/Makefile.inc')
-rw-r--r--src/mainboard/google/reef/variants/baseboard/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
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