Skip to contentSkip to conversation

mpc8641: Stop supporting non-PCI_PNP configs

PATCH New Becky Bruce 2 participants 2 messages Oct 31, 2008 – Nov 3, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc8641: Stop supporting non-PCI_PNP configs

We don't actually ever do this, remove the code so we can stop maintaining it.

---
 board/freescale/mpc8641hpcn/mpc8641hpcn.c |   22 +---------------------
 include/configs/MPC8641HPCN.h             |    6 ------
 2 files changed, 1 insertions(+), 27 deletions(-)
board/freescale/mpc8641hpcn/mpc8641hpcn.c +1 -21
index 9635cfc..c7e10d8 100644
@@ -121,27 +121,7 @@ fixed_sdram(void)
 
 
 #if defined(CONFIG_PCI)
-/*
- * Initialize PCI Devices, report devices found.
- */
-
-#ifndef CONFIG_PCI_PNP
-static struct pci_config_table pci_fsl86xxads_config_table[] = {
-	{PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
-	 PCI_IDSEL_NUMBER, PCI_ANY_ID,
-	 pci_cfgfunc_config_device, {PCI_ENET0_IOADDR,
-				     PCI_ENET0_MEMADDR,
-				     PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER}},
-	{}
-};
-#endif
-
-
-static struct pci_controller pci1_hose = {
-#ifndef CONFIG_PCI_PNP
-	config_table:pci_mpc86xxcts_config_table
-#endif
-};
+static struct pci_controller pci1_hose;
 #endif /* CONFIG_PCI */
 
 #ifdef CONFIG_PCI2
include/configs/MPC8641HPCN.h +0 -6
index abf2a58..0bf5888 100644
@@ -341,12 +341,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	15
 #define CONFIG_SYS_OHCI_SWAP_REG_ACCESS	1
 
-#if !defined(CONFIG_PCI_PNP)
-    #define PCI_ENET0_IOADDR	0xe0000000
-    #define PCI_ENET0_MEMADDR	0xe0000000
-    #define PCI_IDSEL_NUMBER	0x0c	/* slot0->3(IDSEL)=12->15 */
-#endif
-
 /*PCIE video card used*/
 #define VIDEO_IO_OFFSET		CONFIG_SYS_PCI2_IO_PHYS
 
Signature · 1 line
1.5.5.1
#1 lore raw

PATCH 1/1 mpc8641: Stop supporting non-PCI_PNP configs

Quoted 4 lines · Becky Bruce

We don't actually ever do this, remove the code so we can stop maintaining it.

Applied to u-boot-mpc86xx.

Thanks,
jdl