aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/include/soc/pmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/tigerlake/include/soc/pmc.h')
-rw-r--r--src/soc/intel/tigerlake/include/soc/pmc.h41
1 files changed, 12 insertions, 29 deletions
diff --git a/src/soc/intel/tigerlake/include/soc/pmc.h b/src/soc/intel/tigerlake/include/soc/pmc.h
index 10693c02a9..0c1c7a21e4 100644
--- a/src/soc/intel/tigerlake/include/soc/pmc.h
+++ b/src/soc/intel/tigerlake/include/soc/pmc.h
@@ -114,35 +114,18 @@
#define GPE0_DWX_MASK 0xf
#define GPE0_DW_SHIFT(x) (4*(x))
-#if CONFIG(SOC_INTEL_TIGERLAKE)
-
- #define PMC_GPP_B 0x0
- #define PMC_GPP_T 0x1
- #define PMC_GPP_A 0x2
- #define PMC_GPP_R 0x3
- #define PMC_GPD 0x4
- #define PMC_GPP_S 0x5
- #define PMC_GPP_H 0x6
- #define PMC_GPP_D 0x7
- #define PMC_GPP_U 0x8
- #define PMC_GPP_F 0xA
- #define PMC_GPP_C 0xB
- #define PMC_GPP_E 0xC
-
-#elif CONFIG(SOC_INTEL_JASPERLAKE)
-
- #define PMC_GPP_A 0x0
- #define PMC_GPP_B 0x1
- #define PMC_GPP_F 0x2
- #define PMC_GPD 0x3
- #define PMC_GPP_R 0x4
- #define PMC_GPP_S 0x6
- #define PMC_GPP_D 0x7
- #define PMC_GPP_C 0x8
- #define PMC_GPP_H 0xA
- #define PMC_GPP_E 0xF
-
-#endif
+#define PMC_GPP_B 0x0
+#define PMC_GPP_T 0x1
+#define PMC_GPP_A 0x2
+#define PMC_GPP_R 0x3
+#define PMC_GPD 0x4
+#define PMC_GPP_S 0x5
+#define PMC_GPP_H 0x6
+#define PMC_GPP_D 0x7
+#define PMC_GPP_U 0x8
+#define PMC_GPP_F 0xA
+#define PMC_GPP_C 0xB
+#define PMC_GPP_E 0xC
#define GBLRST_CAUSE0 0x1924
#define GBLRST_CAUSE0_THERMTRIP (1 << 5)