Attention is currently required from: Bora Guvendik, Cliff Huang, Jérémy Compostella.
Hello Bora Guvendik, Jérémy Compostella, Wonkyu Kim, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84901?usp=email
to look at the new patch set (#3).
Change subject: soc/intel/common/gpio: add function to lock GPIO configuration ......................................................................
soc/intel/common/gpio: add function to lock GPIO configuration
gpio_padbased_lock_override() takes the MB gpio table and configuration exception gpio list as arguments. MB gpio needs to provide the lock exception list or use none for the list. This function should be called after MB gpio table is overridden with GPIO fw_config tables.
NOTE: The SOC gpio structure does not distinguish GPP_[n] and non GPP_[n] pads. Therefore, we only apply lock on pads in the MB gpio table. In additon, this won't lock the TX output, which is set via different registers.
BUG=none TEST=This cannot be tested directly and requires MB gpio.c and mainboard.c changes to use this added function.
Signed-off-by: Cliff Huang cliff.huang@intel.com Change-Id: Iabe4e4b1d282a5f6cae8f330100c9139e0c2691d --- M src/soc/intel/common/block/gpio/gpio.c M src/soc/intel/common/block/include/intelblocks/gpio.h 2 files changed, 23 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/84901/3