.. | .. |
---|
92 | 92 | if (devp == NULL) |
---|
93 | 93 | goto err_out; |
---|
94 | 94 | |
---|
95 | | - if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0) { |
---|
| 95 | + if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || |
---|
| 96 | + getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { |
---|
96 | 97 | devp = finddevice(path); |
---|
97 | 98 | if (devp == NULL) |
---|
98 | 99 | goto err_out; |
---|
.. | .. |
---|
130 | 131 | #ifdef CONFIG_PPC_MPC52xx |
---|
131 | 132 | else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart")) |
---|
132 | 133 | rc = mpc5200_psc_console_init(devp, &serial_cd); |
---|
133 | | -#endif |
---|
134 | | -#ifdef CONFIG_XILINX_VIRTEX |
---|
135 | | - else if (dt_is_compatible(devp, "xlnx,opb-uartlite-1.00.b") || |
---|
136 | | - dt_is_compatible(devp, "xlnx,xps-uartlite-1.00.a")) |
---|
137 | | - rc = uartlite_console_init(devp, &serial_cd); |
---|
138 | 134 | #endif |
---|
139 | 135 | #ifdef CONFIG_PPC64_BOOT_WRAPPER |
---|
140 | 136 | else if (dt_is_compatible(devp, "ibm,opal-console-raw")) |
---|