Commit 7869ec6d authored by Matt Porter's avatar Matt Porter Committed by Linus Torvalds

[PATCH] ppc32: Remove internal PCI arbiter check on PPC40x

On PPC405GP/GPR it should be possible to enable PCI support, even when the
internal PCI arbiter is disabled (e.g.  when using an external PCI
arbiter).  The removed code didn't allow this, and also generated a warning
on PPC405EP platforms.
Signed-off-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarMatt Porter <mporter@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3e9e7c1d
...@@ -89,13 +89,6 @@ ppc4xx_find_bridges(void) ...@@ -89,13 +89,6 @@ ppc4xx_find_bridges(void)
isa_mem_base = 0; isa_mem_base = 0;
pci_dram_offset = 0; pci_dram_offset = 0;
#if (PSR_PCI_ARBIT_EN > 1)
/* Check if running in slave mode */
if ((mfdcr(DCRN_CHPSR) & PSR_PCI_ARBIT_EN) == 0) {
printk("Running as PCI slave, kernel PCI disabled !\n");
return;
}
#endif
/* Setup PCI32 hose */ /* Setup PCI32 hose */
hose_a = pcibios_alloc_controller(); hose_a = pcibios_alloc_controller();
if (!hose_a) if (!hose_a)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment