[PATCH] PowerPC: Add legacy serial support for OPB with flattened device tree.

Arnd Bergmann arnd at arndb.de
Fri Oct 12 07:10:49 EST 2007


On Thursday 11 October 2007, Valentine Barshak wrote:
> Currently find_legacy_serial_ports() can find no serial ports on the OPB
> with flattened device. Thus no legacy boot console can be initialized.
> Just the early udbg console works, which is initialized with udbg_init_44x_as1
> on the UART's physical address specified in kernel config. This happens
> because we look for ns16750 serial devices only and expect opb node to have
> a device type property. This patch makes it look for ns16550-compatible
> devices and use of_device_is_compatible() for opb in case device type is not
> specified.
> 
> Signed-off-by: Valentine Barshak <vbarshak at ru.mvista.com>

Looks correct for QS21 now.

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the Linuxppc-dev mailing list