diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-02-20 22:56:25 -0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-02-22 22:19:29 +0100 |
commit | bf4845dd3acf3ce9e9c63ce8c35ee7111351aa78 (patch) | |
tree | e52477aefc418a91583ac5568af23972747badc8 /payloads/libpayload/drivers/serial/serial.c | |
parent | 5b9b593f2f888c81cc0af8eb2fc2173c83562003 (diff) |
arch/x86/acpigen: Provide helper functions for enabling/disabling GPIO
In order to allow GPIOs to be set/clear according to their polarity,
provide helper functions that check for polarity and call set/clear
SoC functions for generating ACPI code.
BUG=None
BRANCH=None
TEST=Verified that the ACPI code generated remains the same as before
for reef.
Change-Id: Ie8bdb9dc18e61a4a658f1447d6f1db0b166d9c12
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/18427
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/drivers/serial/serial.c')
0 files changed, 0 insertions, 0 deletions