Attention is currently required from: Patrick Rudolph. Sumeet R Pawnikar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58141 )
Change subject: drivers/intel/dptf: Add PCH FIVR enable support under TPCH device ......................................................................
drivers/intel/dptf: Add PCH FIVR enable support under TPCH device
Add PCH FIVR enable support under TPCH device.
Change-Id: Ia5eb37d5fd0eb1a4490e810ea802cbecc04ac386 Signed-off-by: Sumeet Pawnikar sumeet.r.pawnikar@intel.com --- M src/drivers/intel/dptf/dptf.c 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/58141/1
diff --git a/src/drivers/intel/dptf/dptf.c b/src/drivers/intel/dptf/dptf.c index fba73db..e3c1529 100644 --- a/src/drivers/intel/dptf/dptf.c +++ b/src/drivers/intel/dptf/dptf.c @@ -305,7 +305,17 @@ dptf_write_hid(platform_info->use_eisa_hids, platform_info->tpch_device_hid); acpigen_write_name_string("_STR", DEFAULT_TPCH_STR); acpigen_write_name_integer("PTYP", DPTF_GENERIC_PARTICIPANT_TYPE_TPCH); + acpigen_write_method("_STA", 0); + acpigen_write_if(); + acpigen_emit_byte(LEQUAL_OP); + acpigen_emit_namestring("\PCHE"); + acpigen_emit_byte(ONE_OP); acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON); + acpigen_write_else(); + acpigen_emit_byte(RETURN_OP); + acpigen_emit_byte(ZERO_OP); + acpigen_pop_len(); + acpigen_write_method_end(); }
static void write_tpch_methods(const struct dptf_platform_info *platform_info)