summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include
diff options
context:
space:
mode:
authorWonkyu Kim <wonkyu.kim@intel.com>2022-04-07 10:31:25 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-04-20 09:39:27 +0000
commit9cb5dcb40cbb92b27c009158f53854d427588189 (patch)
tree086fbe91ae133c73ee00a95049f8bfefa3df02a0 /src/soc/intel/common/block/include
parent211be9c031d45cb394d92176c3819939b66c53cd (diff)
soc/intel: clean up dmi driver code
1. Remove dmi.h as it's migrated as gpmr.header 2. Remove unused gpmr definitions 3. For old platforms, define DMI defintions in c code for less code changes. TEST=Build Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com> Change-Id: Ib340ff1ab7fd88b1e7b3860ffec055a75e562de7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63472 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/intel/common/block/include')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/dmi.h20
-rw-r--r--src/soc/intel/common/block/include/intelblocks/lpc_lib.h7
2 files changed, 0 insertions, 27 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/dmi.h b/src/soc/intel/common/block/include/intelblocks/dmi.h
deleted file mode 100644
index 8b12602434..0000000000
--- a/src/soc/intel/common/block/include/intelblocks/dmi.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef SOC_INTEL_COMMON_BLOCK_DMI_H
-#define SOC_INTEL_COMMON_BLOCK_DMI_H
-
-#include <types.h>
-
-#define PCR_DMI_DMICTL 0x2234
-#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
-
-#define PCR_DMI_GCS 0x274C
-#define PCR_DMI_GCS_BILD (1 << 0)
-
-/*
- * Takes base, size and destination ID and configures the GPMR
- * for accessing the region.
- */
-enum cb_err dmi_enable_gpmr(uint32_t base, uint32_t size, uint32_t dest_id);
-
-#endif /* SOC_INTEL_COMMON_BLOCK_DMI_H */
diff --git a/src/soc/intel/common/block/include/intelblocks/lpc_lib.h b/src/soc/intel/common/block/include/intelblocks/lpc_lib.h
index 43a30010d3..3590852034 100644
--- a/src/soc/intel/common/block/include/intelblocks/lpc_lib.h
+++ b/src/soc/intel/common/block/include/intelblocks/lpc_lib.h
@@ -25,13 +25,6 @@
#define LPC_IOE_COMA_EN (1 << 0)
#define LPC_NUM_GENERIC_IO_RANGES 4
-#define PCR_DMI_LPCLGIR1 0x2730
-
-#define PCR_DMI_LPCGMR 0x2740
-
-#define PCR_DMI_LPCIOD 0x2770
-#define PCR_DMI_LPCIOE 0x2774
-
/* LPC PCR configuration */
#define PCR_LPC_PRC 0x341c
#define PCR_LPC_CCE_EN 0xf