summaryrefslogtreecommitdiff
path: root/src/drivers/tpm/ppi.c
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-09-30 21:15:58 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-10-02 11:50:52 +0000
commit6f693d3c1c5a983ee7fa3b5c54d7fa013b2cbb10 (patch)
tree4babde97a855bd3195f2a496a0ec1ca1009fc196 /src/drivers/tpm/ppi.c
parent5c46b6bd019243eb7237cbbfcf00f63247c61dad (diff)
drivers/tpm: Remove unused 2nd argument in FUNC method
The method "FUNC" allows 1 argument, so remove the incorrectly referenced and unused second arguemnt. This fixes: ToInteger (Arg1, Local1) Error 6006 - ^ Method argument is not initialized (Arg1) Change-Id: If5e402579a2caff169e12253e5d9c2c493902ec7 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Kopeć <michal.kopec@3mdeb.com> Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Diffstat (limited to 'src/drivers/tpm/ppi.c')
-rw-r--r--src/drivers/tpm/ppi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/tpm/ppi.c b/src/drivers/tpm/ppi.c
index 2ce1d07808..68923eaeda 100644
--- a/src/drivers/tpm/ppi.c
+++ b/src/drivers/tpm/ppi.c
@@ -634,7 +634,6 @@ void tpm_ppi_acpi_fill_ssdt(const struct device *dev)
acpigen_write_method_serialized("FUNC", 1);
acpigen_write_to_integer(ARG0_OP, LOCAL0_OP);
- acpigen_write_to_integer(ARG1_OP, LOCAL1_OP);
acpigen_write_if();
acpigen_emit_byte(LGREATER_OP);
acpigen_emit_byte(LOCAL0_OP);