summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2021-04-27 09:44:06 -0700
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-05-18 21:58:14 +0000
commit7d365be91575a7bbad791e348ebcfc0cbd4ed71e (patch)
tree85934cab688337331dcc51051b07f38a276e6a3a
parent0d2d9db14303397cd3b0d0518f1fbdc5e71ff410 (diff)
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 <john.zhao@intel.com> Change-Id: I2d074b84fb3cb87b443871104b72b6c316af5279 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52710 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/ec/google/chromeec/ec_acpi.c22
1 files changed, 0 insertions, 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);
-}