diff options
author | Nico Huber <nico.h@gmx.de> | 2020-09-23 01:27:13 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-28 09:26:10 +0000 |
commit | 90381231ea208261edd2f21f511210559eedd8e5 (patch) | |
tree | d0ec004fd4a9e59d4f7df179750c4ec0ab93b506 /src/soc/intel | |
parent | 6dbf4c8f031a13b1235c60eaca5757ce71aafa68 (diff) |
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 <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45633
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/skylake/me.c | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |