coreboot/src
Furquan Shaikh 4a12a56cdf soc/intel/common/block/gpio: Add API for gpio_configure_pads_with_override
This function adds support for gpio_configure_pads_with_override
which:
1. Takes as input two GPIO tables -- base config table and override
config table
2. Configures each pad in base config by first checking if there is a
config available for the pad in override config table. If yes, then
uses the one from override config table. Else, uses the base config to
configure the pad.

This is done to allow sharing of GPIO tables across baseboard-variants
for various boards i.e. Each board can have a base config table which
is provided by the baseboard and an optional override config table
that can be provided by a variant to configure certain GPIOs
differently. It is helpful when the variant GPIO diff list is not very
huge compared to the baseboard.

BUG=b:111743717
TEST=Verified that the GPIO config for phaser is same with and without
this change.

Change-Id: I1c5dc72c8368957201ab53d2e8398ff861341a4c
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27640
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-07-26 15:36:32 +00:00
..
acpi arch/x86: Add common AMD ACPI hardware definitions 2017-11-10 19:15:38 +00:00
arch arch/arm64: Add Kconfig to include BL31 as blob 2018-07-26 00:44:33 +00:00
commonlib src/{arch,commonlib,cpu}: Use "foo *bar" instead of "foo* bar" 2018-07-09 09:26:18 +00:00
console arch/x86: Drop leftover ROMCC console support 2018-06-08 03:31:12 +00:00
cpu drivers/tpm: Add TPM ramstage driver for devices without vboot. 2018-07-25 15:53:35 +00:00
device device: add child traversal helper function 2018-07-26 15:35:44 +00:00
drivers drivers/tpm: Add TPM ramstage driver for devices without vboot. 2018-07-25 15:53:35 +00:00
ec ec/google: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 14:15:56 +00:00
include device: add child traversal helper function 2018-07-26 15:35:44 +00:00
lib write_tables: return a pointer to the table 2018-07-20 03:26:46 +00:00
mainboard mb/google/octopus: update phaser touchscreen enable gpio 2018-07-26 15:36:11 +00:00
northbridge nb/intel/sandybridge/raminit: Fix SMBIOS 17 bus width 2018-07-26 14:12:02 +00:00
security security/vboot: fix typo 2018-07-18 12:20:13 +00:00
soc soc/intel/common/block/gpio: Add API for gpio_configure_pads_with_override 2018-07-26 15:36:32 +00:00
southbridge Kconfig: Make the EM100 config option common 2018-07-16 07:41:14 +00:00
superio sio/smsc/fdc37n972: add missing pnp_conf_mode field to ops struct 2018-07-26 14:22:28 +00:00
vendorcode vendorcode/intel: Update GLK FSP Header files w.r.t FSP v2.0.5 2018-07-25 18:38:39 +00:00
Kconfig Kconfig: Make the EM100 config option common 2018-07-16 07:41:14 +00:00