summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2020-02-27 17:16:13 +0530
committerPatrick Georgi <pgeorgi@google.com>2020-03-02 11:37:56 +0000
commitc2a2d2ba268561fe0d4f076702a77071d6d6b57a (patch)
tree8388b13ac1b047a58dec7bcea5d978641873f7c7
parentaaf28d2507336b809b4420841b537652487439bd (diff)
downloadcoreboot-c2a2d2ba268561fe0d4f076702a77071d6d6b57a.tar.xz
soc/intel/common: Remove HOST_RESET_ONLY reset type support
Remove HOST_RESET_ONLY reset type of GLOBAL_RESET HECI command as it is not supported. Change-Id: I17171e1e5fe79710142369499d3d904a5ba98636 Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39149 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/soc/intel/common/block/cse/cse.c6
-rw-r--r--src/soc/intel/common/block/include/intelblocks/cse.h1
2 files changed, 2 insertions, 5 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 48c26f3897..b24a99a7f3 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -609,8 +609,7 @@ uint32_t me_read_config32(int offset)
}
/*
- * Sends GLOBAL_RESET_REQ cmd to CSE.The reset type can be GLOBAL_RESET/
- * HOST_RESET_ONLY/CSE_RESET_ONLY.
+ * Sends GLOBAL_RESET_REQ cmd to CSE.The reset type can be GLOBAL_RESET/CSE_RESET_ONLY.
*/
int cse_request_global_reset(enum rst_req_type rst_type)
{
@@ -632,8 +631,7 @@ int cse_request_global_reset(enum rst_req_type rst_type)
size_t reply_size;
printk(BIOS_DEBUG, "HECI: Global Reset(Type:%d) Command\n", rst_type);
- if (!((rst_type == GLOBAL_RESET) ||
- (rst_type == HOST_RESET_ONLY) || (rst_type == CSE_RESET_ONLY))) {
+ if (!(rst_type == GLOBAL_RESET || rst_type == CSE_RESET_ONLY)) {
printk(BIOS_ERR, "HECI: Unsupported reset type is requested\n");
return 0;
}
diff --git a/src/soc/intel/common/block/include/intelblocks/cse.h b/src/soc/intel/common/block/include/intelblocks/cse.h
index 59ddc5b5d5..2b07092307 100644
--- a/src/soc/intel/common/block/include/intelblocks/cse.h
+++ b/src/soc/intel/common/block/include/intelblocks/cse.h
@@ -121,7 +121,6 @@ uint8_t cse_wait_sec_override_mode(void);
enum rst_req_type {
GLOBAL_RESET = 1,
- HOST_RESET_ONLY = 2,
CSE_RESET_ONLY = 3,
};