Skip to content

Commit

Permalink
powerpc/83xx: make mpc830x_rdb use mpc83xx_setup_pci
Browse files Browse the repository at this point in the history
Traditionally mpc830x_rdb board file searched for mpc8308-pcie devices.
However both in-kernel dts from the beginning declared those pcie units
as compatible with mpc8314-pci, which is handled by mpc83xx_setup_pci().

Drop special handling for mpc8308 and use common function instead.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Kumar Gala committed Nov 24, 2011
1 parent bede480 commit 5d71349
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions arch/powerpc/platforms/83xx/mpc830x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,10 @@
*/
static void __init mpc830x_rdb_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("mpc830x_rdb_setup_arch()", 0);

#ifdef CONFIG_PCI
for_each_compatible_node(np, "pci", "fsl,mpc8308-pcie")
mpc83xx_add_bridge(np);
#endif
mpc83xx_setup_pci();
mpc831x_usb_cfg();
}

Expand Down

0 comments on commit 5d71349

Please sign in to comment.