From 7d365be91575a7bbad791e348ebcfc0cbd4ed71e Mon Sep 17 00:00:00 2001 From: John Zhao Date: Tue, 27 Apr 2021 09:44:06 -0700 Subject: [PATCH] ec/google/chromeec: Remove ec_retimer_fw_update Along with upstream kernel for Retimer firmware update, coreboot changes the ec_retimer_fw_update format. This change removes this API and will add implementation later once the dependent definition is complete. BUG=b:186521258 TEST=Build image successfully. Signed-off-by: John Zhao Change-Id: I2d074b84fb3cb87b443871104b72b6c316af5279 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52710 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/ec/google/chromeec/ec_acpi.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/ec/google/chromeec/ec_acpi.c b/src/ec/google/chromeec/ec_acpi.c index bcecd8920b..8cfc7b1953 100644 --- a/src/ec/google/chromeec/ec_acpi.c +++ b/src/ec/google/chromeec/ec_acpi.c @@ -241,25 +241,3 @@ const char *ec_retimer_fw_update_path(void) { return "\\_SB_.PCI0.LPCB.EC0_.RFWU"; } - -void ec_retimer_fw_update(void *arg) -{ - const char *RFWU = ec_retimer_fw_update_path(); - - /* - * Get information to set retimer info from Arg3[0] - * Local0 = DeRefOf (Arg3[0]) - */ - acpigen_get_package_op_element(ARG3_OP, 0, LOCAL0_OP); - - /* - * Write the EC RAM for Retimer Upgrade - * RFWU = LOCAL0 - */ - acpigen_write_store(); - acpigen_emit_byte(LOCAL0_OP); - acpigen_emit_namestring(RFWU); - - /* Return (Zero) */ - acpigen_write_return_integer(0); -}