the following patch was just integrated into master: commit bf4845dd3acf3ce9e9c63ce8c35ee7111351aa78 Author: Furquan Shaikh furquan@chromium.org Date: Mon Feb 20 22:56:25 2017 -0800
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)
See https://review.coreboot.org/18427 for details.
-gerrit