Skip to content

Commit 546cf75

Browse files
Charles E. Yousenashif
authored andcommitted
soc/x86/apollo_lake: remove legacy PCI support
The Apollo Lake SoC no longer uses the legacy PCI driver, so remove references and supporting code. Signed-off-by: Charles E. Youse <[email protected]>
1 parent 0fcc484 commit 546cf75

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

soc/x86/apollo_lake/Kconfig.soc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ config SOC_APOLLO_LAKE
88
bool "Intel Apollo Lake Soc"
99
select CPU_APOLLO_LAKE
1010
select HAS_I2C_DW
11-
select PCI
12-
select PCI_ENUMERATION
1311
select PCIE
1412
select PCIE_MSI
1513
select DYNAMIC_INTERRUPTS

soc/x86/apollo_lake/soc.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,4 @@
2727
#include "soc_gpio.h"
2828
#endif
2929

30-
#ifdef CONFIG_PCI
31-
32-
/*
33-
* PCI definitions
34-
*/
35-
#define PCI_BUS_NUMBERS 1
36-
37-
#define PCI_CTRL_ADDR_REG 0xCF8
38-
#define PCI_CTRL_DATA_REG 0xCFC
39-
40-
/**
41-
* @brief Convert PCI interrupt PIN to IRQ
42-
*
43-
* BIOS should have assigned vectors linearly.
44-
* If not, override this in board configuration.
45-
*/
46-
#define pci_pin2irq(bus, dev, pin) (pin)
47-
48-
#endif /* CONFIG_PCI */
49-
5030
#endif /* __SOC_H_ */

0 commit comments

Comments
 (0)