diff options
author | Scott Wood <scottwood@freescale.com> | 2007-08-21 03:39:54 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-22 15:21:48 +1000 |
commit | dc4f397d6e385c4ea0fe9732df911a86f1a78c9a (patch) | |
tree | b447785d5fb9a03f658dbaee362861218dc1e408 /arch/powerpc/boot/mv64x60_i2c.c | |
parent | 61d3b949b70802c4f32d540b11a93128c31c67ea (diff) |
[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 <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/mv64x60_i2c.c')
0 files changed, 0 insertions, 0 deletions