diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-24 15:18:20 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-24 14:46:15 +0000 |
commit | aaa69b621be78f570b9e05f783f1edd0f337e196 (patch) | |
tree | f293c27a0ccefb56a85d7995b20da8d6beee5495 /src/soc/intel/common/block | |
parent | 0fc6bec763f9194fc20ec4e3a6bf1e2a40a88e33 (diff) |
soc/intel/lpc_lib: drop dead code
Change-Id: I7cf5f97c3229fe6a72d70a36e8cff49ff3cf611b
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49886
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/common/block')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/lpc_lib.h | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/lpc/lpc_lib.c | 8 |
2 files changed, 0 insertions, 10 deletions
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 fc5ce8e357..bf5c2f68f6 100644 --- a/src/soc/intel/common/block/include/intelblocks/lpc_lib.h +++ b/src/soc/intel/common/block/include/intelblocks/lpc_lib.h @@ -56,8 +56,6 @@ uint16_t lpc_get_fixed_io_decode(void); uint16_t lpc_set_fixed_io_ranges(uint16_t io_ranges, uint16_t mask); /* Open a generic IO window to the LPC bus. Four windows are available. */ void lpc_open_pmio_window(uint16_t base, uint16_t size); -/* Close all generic IO windows to the LPC bus. */ -void lpc_close_pmio_windows(void); /* Open a generic MMIO window to the LPC bus. One window is available. */ void lpc_open_mmio_window(uintptr_t base, size_t size); /* Init SoC Specific LPC features. Common definition will be weak and diff --git a/src/soc/intel/common/block/lpc/lpc_lib.c b/src/soc/intel/common/block/lpc/lpc_lib.c index 6c300a2d52..28c435cce6 100644 --- a/src/soc/intel/common/block/lpc/lpc_lib.c +++ b/src/soc/intel/common/block/lpc/lpc_lib.c @@ -60,14 +60,6 @@ static int find_unused_pmio_window(void) return -1; } -void lpc_close_pmio_windows(void) -{ - size_t i; - - for (i = 0; i < LPC_NUM_GENERIC_IO_RANGES; i++) - pci_write_config32(PCH_DEV_LPC, LPC_GENERIC_IO_RANGE(i), 0); -} - void lpc_open_pmio_window(uint16_t base, uint16_t size) { int i, lgir_reg_num; |