[PATCH 3/5] powerpc: Bootwrapper and serial console support for AmigaOne
Grant Likely
grant.likely at secretlab.ca
Thu Jan 8 02:07:14 EST 2009
On Wed, Jan 7, 2009 at 7:03 AM, Gerhard Pircher <gerhard_pircher at gmx.net> wrote:
> diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c
> index 8b3607c..f2156f0 100644
> --- a/arch/powerpc/boot/serial.c
> +++ b/arch/powerpc/boot/serial.c
> @@ -117,7 +117,8 @@ int serial_console_init(void)
> if (devp == NULL)
> goto err_out;
>
> - if (dt_is_compatible(devp, "ns16550"))
> + if (dt_is_compatible(devp, "ns16550") ||
> + dt_is_compatible(devp, "pnpPNP,501"))
> rc = ns16550_console_init(devp, &serial_cd);
Why not just claim "ns16550" compatibility in the device tree node?
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list