summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/include
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2021-01-23 13:59:01 +0100
committerNico Huber <nico.h@gmx.de>2021-01-24 14:03:44 +0000
commit0fc6bec763f9194fc20ec4e3a6bf1e2a40a88e33 (patch)
tree603cec76ee2fe6bf44b57011f60f556df1cbb5d9 /src/soc/intel/icelake/include
parent89fe2f34b48dfa053de4c82771f078a136ffff20 (diff)
soc/intel/icl: drop wrong, unused code
The ids used in function `soc_get_pch_series()` are not valid for Icelake. Since it's not even used, instead of fixing it, drop it. Change-Id: I4a1ee4b84f11ea314cb666ce4506ff90168da0ca Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49875 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/icelake/include')
-rw-r--r--src/soc/intel/icelake/include/soc/espi.h11
-rw-r--r--src/soc/intel/icelake/include/soc/pch.h4
2 files changed, 0 insertions, 15 deletions
diff --git a/src/soc/intel/icelake/include/soc/espi.h b/src/soc/intel/icelake/include/soc/espi.h
index 3ae1b2db22..ec4af4dfac 100644
--- a/src/soc/intel/icelake/include/soc/espi.h
+++ b/src/soc/intel/icelake/include/soc/espi.h
@@ -26,15 +26,4 @@
#define PCCTL 0xE0 /* PCI Clock Control */
#define CLKRUN_EN (1 << 0)
-/*
- * This function will help to differentiate between 2 PCH on single type of soc.
- * Since same soc may have LP series pch or H series PCH, we need to
- * differentiate by reading upper 8 bits of PCH device ids.
- *
- * Return:
- * Return PCH_LP or PCH_H macro in case of respective device ID found.
- * PCH_UNKNOWN_SERIES in case of invalid device ID.
- */
-uint8_t get_pch_series(void);
-
#endif
diff --git a/src/soc/intel/icelake/include/soc/pch.h b/src/soc/intel/icelake/include/soc/pch.h
index c4006eff24..a8c3f4a447 100644
--- a/src/soc/intel/icelake/include/soc/pch.h
+++ b/src/soc/intel/icelake/include/soc/pch.h
@@ -3,10 +3,6 @@
#ifndef _SOC_ICELAKE_PCH_H_
#define _SOC_ICELAKE_PCH_H_
-#define PCH_H 1
-#define PCH_LP 2
-#define PCH_UNKNOWN_SERIES 0xFF
-
#define PCIE_CLK_NOTUSED 0xFF
#define PCIE_CLK_LAN 0x70
#define PCIE_CLK_FREE 0x80