summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui/early_init.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-07-30 03:26:15 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-07-31 01:29:18 +0000
commitf80e6d6f567b8f47e32b3f54b846802825510bf9 (patch)
tree0892a2cb3dea36392a3d15056c2fb677d526e7b0 /src/mainboard/google/kukui/early_init.c
parentdf566ae4280a9a604b89aedb3469eab1b5ef05c7 (diff)
soc/amd/common/block/gpio_banks: use unsigned int for gevent parameter
A valid GEVENT number is never negative. The local variable in set_single_gpio still needs to be a signed integer, since the return value of get_gpio_gevent being -1 indicates that the GPIO can't generate a GEVENT. The check for that makes the function return before calling program_smi of program_sci, so the parameter of those functions can be changed to unsigned. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I6ce23ceed1585589932824b8cab2a138328672a9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56705 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/kukui/early_init.c')
0 files changed, 0 insertions, 0 deletions