summaryrefslogtreecommitdiff
path: root/configs/config.prodrive_hermes
diff options
context:
space:
mode:
authorMaulik V Vaghela <maulik.v.vaghela@intel.com>2022-05-10 10:33:04 +0530
committerWerner Zeh <werner.zeh@siemens.com>2022-05-16 05:13:13 +0000
commit0485ab6612b0030b808331b48903c94bc97ce653 (patch)
tree21798ead1999be246c02809611b1baa067ca3ca2 /configs/config.prodrive_hermes
parent48e16f76c5e910a071cd0e1a319d3b11cc30dc98 (diff)
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>
Diffstat (limited to 'configs/config.prodrive_hermes')
0 files changed, 0 insertions, 0 deletions