From 90381231ea208261edd2f21f511210559eedd8e5 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Wed, 23 Sep 2020 01:27:13 +0200 Subject: soc/intel/skl: Fix error code of send_global_reset() With commit f2eb687d19 (soc/intel/{cnl,icl,skl,tgl,common}: Make changes to send_heci_reset_req_message()) the return value was changed on a single path. Update the other paths too, even though it's the discouraged 0-is-failure. Change-Id: I179a6a4b1e13565dd58c908eb2a9725052a4de9d Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/45633 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/intel/skylake/me.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/skylake/me.c b/src/soc/intel/skylake/me.c index c37f6925c3..92a7dafbba 100644 --- a/src/soc/intel/skylake/me.c +++ b/src/soc/intel/skylake/me.c @@ -340,7 +340,7 @@ void intel_me_status(void) int send_global_reset(void) { - int status = -1; + int status = 0; union me_hfsts1 hfs1; if (!is_cse_enabled()) -- cgit v1.2.3