soc/intel/{cnl,icl,skl,tgl,common}: Make changes to send_heci_reset_req_message()
commitf2eb687d19fb5ad6a74f1e938344b6d177765528
authorSridhar Siricilla <sridhar.siricilla@intel.com>
Thu, 5 Dec 2019 14:24:16 +0000 (5 19:54 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Sun, 9 Feb 2020 19:20:44 +0000 (9 19:20 +0000)
treebca4bc97bb16902226d31c36bc66bece72c62a59
parent63be9181cba7b05e3ed3578415cbb589ffa9d4c2
soc/intel/{cnl,icl,skl,tgl,common}: Make changes to send_heci_reset_req_message()

Below changes have been implemented in send_heci_reset_req_message():
1. Modify return values to align with other functions in the same file.
2. Add additional logging.
3. Replace macro definitions of reset types with ENUM.
4. Make changes to caller functions to sync with new return values.
5. Rename send_heci_reset_req_message() to cse_request_global_reset().

Test=Verified on hatch board.

Change-Id: I979b169a5bb3a5d4028ef030bcef2b8eeffe86e3
Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37584
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/cannonlake/reset.c
src/soc/intel/common/block/cse/cse.c
src/soc/intel/common/block/include/intelblocks/cse.h
src/soc/intel/icelake/reset.c
src/soc/intel/skylake/me.c
src/soc/intel/skylake/reset.c
src/soc/intel/tigerlake/reset.c