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

2007-08-20 Thread David Gibson
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

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

2007-08-20 Thread Scott Wood
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-of