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>
This commit is contained in:
parent
0fc6bec763
commit
aaa69b621b
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue