Remove the errata fix codes for MPC8641 silicon ver 1.0 which is end of life.
PATCH 1/8 Remove the errata fix codes for MPC8641 silicon ver 1.0 which is end of life.
From: Zhang Wei <[email protected]>
Remove the errata fix codes for MPC8641 silicon ver 1.0 which is end of life.
The MPC8641 silicon ver 1.0 is not fully support PCI/PCI Express specifications. The revision 2.0 fixes all of these errata and the rev 1.0 silicon is end of life. So errata codes are removed.
Now, The chip is full compatible with PCI/PCI Express specifications. The generic PCI code is used.
Signed-off-by Zhang Wei <[email protected]>
Acked-by Roy Zang <[email protected]>
Signed-off-by Jon Loeliger <[email protected]>
--- arch/powerpc/Kconfig | 3 +-- arch/powerpc/platforms/86xx/mpc86xx.h | 6 ------ arch/powerpc/platforms/86xx/pci.c | 10 +--------- 3 files changed, 2 insertions(+), 17 deletions(-)
arch/powerpc/Kconfig +1 -2
@@ -183,7 +183,6 @@ config PPC_86xx bool "Freescale 86xx" select 6xx select FSL_SOC - select FSL_PCIE select PPC_FPU select ALTIVEC help
@@ -675,7 +674,7 @@ config FSL_SOC config FSL_PCIE bool - depends on PPC_86xx + depends on PPC_85xx # Yes MCA RS/6000s exist but Linux-PPC does not currently support any config MCA
arch/powerpc/platforms/86xx/mpc86xx.h +0 -6
@@ -19,12 +19,6 @@ extern int add_bridge(struct device_node *dev);extern int mpc86xx_exclude_device (u_char bus,u_char devfn); -extern void setup_indirect_pcie (struct pci_controller *hose, -u32 cfg_addr,u32 cfg_data); -extern void setup_indirect_pcie_nomap (struct pci_controller *hose, -void __iomem *cfg_addr, -void __iomem *cfg_data); -extern void __init mpc86xx_smp_init (void );#endif /* __MPC86XX_H__ */
arch/powerpc/platforms/86xx/pci.c +1 -9
@@ -133,18 +133,10 @@ mpc86xx_setup_pcie(struct pci_controller *hose, u32 pcie_offset, u32 pcie_size)early_write_config_word (hose,0 ,0 ,PCI_COMMAND , cmd);early_write_config_byte (hose,0 ,0 ,PCI_LATENCY_TIMER ,0x80 ); - -/* PCIE Bus, Fix the MPC8641D host bridge's location to bus 0xFF. */ -early_read_config_dword (hose,0 ,0 ,PCI_PRIMARY_BUS , &temps); - temps = (temps &0xff000000 ) | (0xff ) | (0x0 <<8 ) | (0xfe <<16 ); -early_write_config_dword (hose,0 ,0 ,PCI_PRIMARY_BUS , temps); }int mpc86xx_exclude_device (u_char bus,u_char devfn) { -if (bus ==0 &&PCI_SLOT (devfn) ==0 ) -return PCIBIOS_DEVICE_NOT_FOUND ; -return PCIBIOS_SUCCESSFUL ; }
@@ -178,7 +170,7 @@ int __init add_bridge(struct device_node *dev) hose->first_busno = bus_range ? bus_range[0 ] :0x0 ; hose->last_busno = bus_range ? bus_range[1 ] :0xfe ; -setup_indirect_pcie (hose, rsrc.start, rsrc.start +0x4 ); +setup_indirect_pci (hose, rsrc.start, rsrc.start +0x4 );/* Setup the PCIE host controller. */ mpc86xx_setup_pcie (hose, rsrc.start, rsrc.end - rsrc.start +1 );
Signature · 1 line
1.5.0.3