aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/include
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-11-09 15:07:44 +0530
committerAaron Durbin <adurbin@chromium.org>2017-11-15 16:44:36 +0000
commitbffff54e09e3fb91f94bd126814aaf1c200fa96b (patch)
treebcb679e890611bef95bfba85511b1db4b63ee052 /src/soc/intel/skylake/include
parent4a722f5e2f1e677f7bae3d5eb39048aa541b5cb6 (diff)
soc/intel/skylake: Make use of common CSE code for skylake
TEST=Ensures global reset could able to reset system. Change-Id: I11ce1812a5a0aa2da6b414555374460d606e220e Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/22395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/skylake/include')
-rw-r--r--src/soc/intel/skylake/include/soc/me.h60
1 files changed, 1 insertions, 59 deletions
diff --git a/src/soc/intel/skylake/include/soc/me.h b/src/soc/intel/skylake/include/soc/me.h
index b94e0ef620..e4b6abf193 100644
--- a/src/soc/intel/skylake/include/soc/me.h
+++ b/src/soc/intel/skylake/include/soc/me.h
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008-2009 coresystems GmbH
* Copyright (C) 2014 Google Inc.
- * Copyright (C) 2016 Intel Corporation.
+ * Copyright (C) 2016-2017 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -202,47 +202,6 @@ union me_hfs6 {
} __packed fields;
};
-/*
- * Management Engine MMIO registers
- */
-#define MMIO_ME_CB_WW 0x00
-#define MMIO_HOST_CSR 0x04
-
-union host_csr {
- u32 data;
- struct {
- u32 int_en: 1;
- u32 int_sts: 1;
- u32 int_gen: 1;
- u32 host_ready: 1;
- u32 host_reset: 1;
- u32 rsv: 3;
- u32 host_read_offset: 8;
- u32 host_write_offset: 8;
- u32 me_cir_depth: 8;
- } __packed fields;
-};
-
-#define MMIO_ME_CB_RW 0x08
-#define MMIO_ME_CSR 0x0C
-
-union me_csr {
- u32 data;
- struct {
- u32 int_en: 1;
- u32 int_sts: 1;
- u32 int_gen: 1;
- u32 host_ready: 1;
- u32 host_reset: 1;
- u32 rsv: 3;
- u32 me_read_offset: 8;
- u32 me_write_offset: 8;
- u32 me_cir_buff: 8;
- } __packed fields;
-};
-
-#define MMIO_ME_D0I3 0x800
-
/* Reset Request */
#define MKHI_GLOBAL_RESET 0x0b
@@ -255,23 +214,6 @@ union me_csr {
#define BIOS_HOST_ADD 0x00
#define HECI_MKHI_ADD 0x07
-#define MAX_HECI_MESSAGE 5
-#define HECI_TIMEOUT 15000000 /* 15sec */
-#define HECI_SEND_TIMEOUT 5000000 /* 5sec */
-#define HECI_READ_TIMEOUT 5000000 /* 5sec */
-#define HECI_DELAY 1000 /* 1ms */
-
-union mei_header {
- u32 data;
- struct {
- u32 client_address: 8;
- u32 host_address: 8;
- u32 length: 9;
- u32 reserved: 6;
- u32 is_complete: 1;
- } __packed fields;
-};
-
void intel_me_status(void);
int send_global_reset(void);