From: Scott Wood Date: Mon, 20 Aug 2007 17:39:54 +0000 (+1000) Subject: [POWERPC] bootwrapper: serial_console_init() fixes X-Git-Tag: v2.6.24-rc1~1450^2~312 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc4f397d6e385c4ea0fe9732df911a86f1a78c9a;p=pandora-kernel.git [POWERPC] bootwrapper: serial_console_init() fixes 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 Acked-by: David Gibson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed