coreboot-kgpe-d16/src/arch
Edward O'Callaghan 7e2625587d x86/acpi_device: Allow acpi_device_add_power_res params as optional
Allow for making both reset_gpio && enable_gpio as optional in
the params by fixing a potential NULL deref and defaulting to
zero values.

BUG=b:147026979
BRANCH=none
TEST=builds

Change-Id: I8053d7a080dfed898400c0994bcea492c826fe3d
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2020-01-30 11:46:08 +00:00
..
arm src/arch: Remove unused <stdlib.h> 2019-12-19 05:57:07 +00:00
arm64 commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
ppc64 arch/*/*/early_variables.h: drop unused files 2019-11-30 16:11:11 +00:00
riscv commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
x86 x86/acpi_device: Allow acpi_device_add_power_res params as optional 2020-01-30 11:46:08 +00:00