serial.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) serial.c (6ffeb56ee2109b30a9e393f7e0c22c9b5030ac38)
1/*
2 * Generic serial console support
3 *
4 * Author: Mark A. Greer <mgreer@mvista.com>
5 *
6 * Code in serial_edit_cmdline() copied from <file:arch/ppc/boot/simple/misc.c>
7 * and was written by Matt Porter <mporter@kernel.crashing.org>.
8 *

--- 118 unchanged lines hidden (view full) ---

127 dt_is_compatible(devp, "fsl,cpm2-scc-uart") ||
128 dt_is_compatible(devp, "fsl,cpm2-smc-uart"))
129 rc = cpm_console_init(devp, &serial_cd);
130#endif
131#ifdef CONFIG_PPC_MPC52xx
132 else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart"))
133 rc = mpc5200_psc_console_init(devp, &serial_cd);
134#endif
1/*
2 * Generic serial console support
3 *
4 * Author: Mark A. Greer <mgreer@mvista.com>
5 *
6 * Code in serial_edit_cmdline() copied from <file:arch/ppc/boot/simple/misc.c>
7 * and was written by Matt Porter <mporter@kernel.crashing.org>.
8 *

--- 118 unchanged lines hidden (view full) ---

127 dt_is_compatible(devp, "fsl,cpm2-scc-uart") ||
128 dt_is_compatible(devp, "fsl,cpm2-smc-uart"))
129 rc = cpm_console_init(devp, &serial_cd);
130#endif
131#ifdef CONFIG_PPC_MPC52xx
132 else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart"))
133 rc = mpc5200_psc_console_init(devp, &serial_cd);
134#endif
135#ifdef CONFIG_PPC64_BOOT_WRAPPER
135#ifdef CONFIG_PPC_POWERNV
136 else if (dt_is_compatible(devp, "ibm,opal-console-raw"))
137 rc = opal_console_init(devp, &serial_cd);
138#endif
139
140 /* Add other serial console driver calls here */
141
142 if (!rc) {
143 console_ops.open = serial_open;

--- 12 unchanged lines hidden ---
136 else if (dt_is_compatible(devp, "ibm,opal-console-raw"))
137 rc = opal_console_init(devp, &serial_cd);
138#endif
139
140 /* Add other serial console driver calls here */
141
142 if (!rc) {
143 console_ops.open = serial_open;

--- 12 unchanged lines hidden ---