coreboot-kgpe-d16/src
Maulik V Vaghela 0485ab6612 intelblocks/gpio: Optimize GPIO functions by passing group and pin info
There were 3 different functions in gpio.c file which used to
get gpio group and pin information separately through function
calls.

Since these are static function, we can modify argument to
pass group and pin information from parent/calling function.

This will reduce redundant work of getting information 3 times
separately.

BUG=None
BRANCH=None
TEST=code compiles and correct information is passed to functions.
Check by using pin information on Brya.

Change-Id: Ie92be8c22838ebc5e831be58545e2023eecfff24
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64231
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2022-05-16 05:13:13 +00:00
..
acpi ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00
arch arch/x86/null_breakpoint: Remove handler before jumping to payload 2022-05-16 05:00:31 +00:00
commonlib commonlib: Add timestamp IDs for Chrome OS hypervisor 2022-05-11 17:06:01 +00:00
console console: Make CONSOLE_SPI_FLASH depend on BOOT_DEVICE_SPI_FLASH 2022-04-27 06:55:47 +00:00
cpu cpu/x86/mp_init.c: Add mp_run_on_all_cpus_synchronously 2022-05-16 04:49:25 +00:00
device device: Remove unused <cbmem.h> 2022-04-22 21:40:07 +00:00
drivers drivers/i2c/tpm: Work around missing firmware_version in Ti50 < 0.0.15 2022-05-16 04:51:13 +00:00
ec ec/starlabs/merlin: Remove offset for Max Charge when not supported 2022-05-12 18:33:51 +00:00
include cpu/x86/mp_init.c: Add mp_run_on_all_cpus_synchronously 2022-05-16 04:49:25 +00:00
lib lib/spd: Demote log about using default DDR4 params to NOTICE 2022-05-16 04:34:59 +00:00
mainboard mb/google/nissa/var/nivviks: Disable PCIe WLAN pins 2022-05-16 05:11:29 +00:00
northbridge northbridge/intel/i945: Convert to ASL 2.0 2022-05-16 02:55:28 +00:00
security drivers/i2c/tpm: Work around missing firmware_version in Ti50 < 0.0.15 2022-05-16 04:51:13 +00:00
soc intelblocks/gpio: Optimize GPIO functions by passing group and pin info 2022-05-16 05:13:13 +00:00
southbridge sb/amd/agesa/hudson/hudson.c: Use BIT() macros 2022-05-16 02:58:36 +00:00
superio superio/kbc1100: Fix set but unused variables 2022-05-11 06:02:48 +00:00
vendorcode amd/agesa/f14/Proc/Mem/Tech/DDR3/mtlrdimm3.h: Correct SPD_PERSONALITY_BYTE 2022-05-16 02:53:59 +00:00
Kconfig Kconfig: Have CONFIG_ASAN depend on COMPILER_GCC 2022-05-13 10:59:37 +00:00