summaryrefslogtreecommitdiff
path: root/src/drivers/intel/dptf
diff options
context:
space:
mode:
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>2021-10-07 18:00:57 +0530
committerFelix Held <felix-coreboot@felixheld.de>2021-10-11 12:47:07 +0000
commit7c1ce19abd16a2125e0ccb00fdea26c08dbb0a8f (patch)
tree02e0a4cc76dcea47e98943db9d198e32fbba2deb /src/drivers/intel/dptf
parent7227cef0d7baafdabf9294ad577c09a5d4e93e43 (diff)
drivers/intel/dptf: return package with value
Return the package with a value for the dptf user space service. This is required in write tpch method for pch device under dptf driver. BUG=b:198582766 BRANCH=None TEST=Build FW and test on brya0 board Change-Id: I64e1bb04a6115c7f93c84a5d6644101ac1d3d8ba Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58174 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/drivers/intel/dptf')
-rw-r--r--src/drivers/intel/dptf/dptf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/intel/dptf/dptf.c b/src/drivers/intel/dptf/dptf.c
index 4a65127dd6..c6ead0f6ed 100644
--- a/src/drivers/intel/dptf/dptf.c
+++ b/src/drivers/intel/dptf/dptf.c
@@ -227,7 +227,8 @@ static void write_tpch_write_method(const char *tpch_write_method_name,
acpigen_write_zero();
/* The reason for returning a value here is a W/A for the ESIF shell */
acpigen_emit_byte(RETURN_OP);
- acpigen_write_package(0);
+ acpigen_write_package(1);
+ acpigen_write_zero();
acpigen_write_package_end();
acpigen_write_method_end();
}