mb/google/skyrim: Allow variants to override romstage GPIO table
commit5f69b867f0c9ec9c0afab4df70a3d0d06809957a
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>
Fri, 23 Sep 2022 19:51:12 +0000 (23 14:51 -0500)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 13 Oct 2022 19:07:39 +0000 (13 19:07 +0000)
treedc320f04ae04bc6d0ac29077ac9cd2e3dec67c2e
parentffa79073d35306c22d66a966400457a6bb2be656
mb/google/skyrim: Allow variants to override romstage GPIO table

Switch from gpio_configure_pads() to gpio_configure_pads_with_override()
so variants can override romstage GPIO defaults. Rename baseboard
function and add an weak empty override function to be used by variants.
Will be used for touchscreen power sequencing in a follow-on commit.

Change-Id: I45586237919cd07a171beac57f3510e26338f67f
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67811
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/mainboard/google/skyrim/romstage.c
src/mainboard/google/skyrim/variants/baseboard/gpio.c
src/mainboard/google/skyrim/variants/baseboard/include/baseboard/variants.h