|
@@ -124,11 +124,13 @@ int serial_console_init(void)
|
|
|
else if (dt_is_compatible(devp, "marvell,mv64360-mpsc"))
|
|
|
rc = mpsc_console_init(devp, &serial_cd);
|
|
|
#endif
|
|
|
+#ifdef CONFIG_CPM
|
|
|
else if (dt_is_compatible(devp, "fsl,cpm1-scc-uart") ||
|
|
|
dt_is_compatible(devp, "fsl,cpm1-smc-uart") ||
|
|
|
dt_is_compatible(devp, "fsl,cpm2-scc-uart") ||
|
|
|
dt_is_compatible(devp, "fsl,cpm2-smc-uart"))
|
|
|
rc = cpm_console_init(devp, &serial_cd);
|
|
|
+#endif
|
|
|
#ifdef CONFIG_PPC_MPC52XX
|
|
|
else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart"))
|
|
|
rc = mpc5200_psc_console_init(devp, &serial_cd);
|