[POWERPC] bootwrapper: serial_console_init() fixes
authorScott Wood <scottwood@freescale.com>
Mon, 20 Aug 2007 17:39:54 +0000 (03:39 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Aug 2007 05:21:48 +0000 (15:21 +1000)
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@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found