|
@@ -1,7 +1,7 @@
|
|
/*
|
|
/*
|
|
* MPC85xx RDB Board Setup
|
|
* MPC85xx RDB Board Setup
|
|
*
|
|
*
|
|
- * Copyright 2009,2012 Freescale Semiconductor Inc.
|
|
|
|
|
|
+ * Copyright 2009,2012-2013 Freescale Semiconductor Inc.
|
|
*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* under the terms of the GNU General Public License as published by the
|
|
@@ -98,26 +98,7 @@ static void __init mpc85xx_rdb_setup_arch(void)
|
|
fsl_pci_assign_primary();
|
|
fsl_pci_assign_primary();
|
|
|
|
|
|
#ifdef CONFIG_QUICC_ENGINE
|
|
#ifdef CONFIG_QUICC_ENGINE
|
|
- np = of_find_compatible_node(NULL, NULL, "fsl,qe");
|
|
|
|
- if (!np) {
|
|
|
|
- pr_err("%s: Could not find Quicc Engine node\n", __func__);
|
|
|
|
- goto qe_fail;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- qe_reset();
|
|
|
|
- of_node_put(np);
|
|
|
|
-
|
|
|
|
- np = of_find_node_by_name(NULL, "par_io");
|
|
|
|
- if (np) {
|
|
|
|
- struct device_node *ucc;
|
|
|
|
-
|
|
|
|
- par_io_init(np);
|
|
|
|
- of_node_put(np);
|
|
|
|
-
|
|
|
|
- for_each_node_by_name(ucc, "ucc")
|
|
|
|
- par_io_of_config(ucc);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
|
|
+ mpc85xx_qe_init();
|
|
#if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE)
|
|
#if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE)
|
|
if (machine_is(p1025_rdb)) {
|
|
if (machine_is(p1025_rdb)) {
|
|
|
|
|
|
@@ -148,8 +129,6 @@ static void __init mpc85xx_rdb_setup_arch(void)
|
|
|
|
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
-
|
|
|
|
-qe_fail:
|
|
|
|
#endif /* CONFIG_QUICC_ENGINE */
|
|
#endif /* CONFIG_QUICC_ENGINE */
|
|
|
|
|
|
printk(KERN_INFO "MPC85xx RDB board from Freescale Semiconductor\n");
|
|
printk(KERN_INFO "MPC85xx RDB board from Freescale Semiconductor\n");
|