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>
This commit is contained in:
Nico Huber 2020-09-23 01:27:13 +02:00 committed by Patrick Georgi
parent 6dbf4c8f03
commit 90381231ea

View file

@ -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())