Attention is currently required from: Lance Zhao, Furquan Shaikh, Tim Wawrzynczak. Hello Lance Zhao, build bot (Jenkins), Furquan Shaikh, Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/55027
to look at the new patch set (#3).
Change subject: acpi/device: Add ability to generate proper _STA for PowerResource ......................................................................
acpi/device: Add ability to generate proper _STA for PowerResource
acpi_device_add_power_res currently generates a `_STA` method hardcoded to ON. This change enables the ability to generate a `_STA` method that queries the status of the GPIOs to determine if the power resource is ON or OFF.
The acpigen_write_power_res_STA method was copied from soc/intel/common/block/pcie/rtd3.c:pcie_rtd3_acpi_method_status. I also added support for checking the stop_gpio.
BUG=b:184617186 TEST=Dump SSDT table for guybrush
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: I91410556db002c620fd9aaa99981457808da93a5 --- M src/acpi/device.c M src/include/acpi/acpi_device.h 2 files changed, 56 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/55027/3