diff options
author | Keith Short <keithshort@chromium.org> | 2019-02-01 16:26:30 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-05 13:27:49 +0000 |
commit | cc68c01becc5c323eeb4815992999e2523b27336 (patch) | |
tree | bb52f81a1d35cb91af859b4308798d0d1b8d0be9 /src/soc/intel/broadwell/smi.c | |
parent | aa4d9b94fd1c84f9dc73a029a8eae4743cec8da4 (diff) |
src/soc/intel/common: Clear GPIO driver ownership when not requested
The default state of the HOSTSW_OWN register in the PCH is zero, which
configures GPIO pins for ACPI ownership. The board variabt GPIO tables
can request specific pins to be configured for GPIO driver ownership.
This change sets the HOSTSW_OWN ownership bit when requested and
explicitly clears the ownership bit if not requested.
BUG=b:120884290
BRANCH=none
TEST=Build coreboot on sarien. Verified UEFI to coreboot transition
boots successfully.
Change-Id: Ia82539dbbbc7cf5dfb9223902d563cafec1a73e5
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://review.coreboot.org/c/31209
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/broadwell/smi.c')
0 files changed, 0 insertions, 0 deletions