[PATCH 08/20] bootwrapper: serial_console_init() fixes.

David Gibson david at gibson.dropbear.id.au
Tue Aug 21 12:38:24 EST 2007


On Mon, Aug 20, 2007 at 12:39:54PM -0500, Scott Wood wrote:
> 1. Search the entire compatible list for serial devices.
> 
> The serial code previously did a simple strcmp on the compatible
> node; this fails when the match string is not the first compatible
> listed.  Use dt_is_compatible() instead.
> 
> 2. Don't call serial_edit_cmdline if getc isn't defined.
> 
> Signed-off-by: Scott Wood <scottwood at freescale.com>

Acked-by: David Gibson <david at gibson.dropbear.id.au>

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list