diff options
author | Michal Simek <monstr@monstr.eu> | 2011-04-14 05:48:43 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-07-25 03:25:13 -0400 |
commit | 2aa8e37596933a43fc3e46e1e385045635674429 (patch) | |
tree | 79cbf1212d42d583a5a5951e28d90e27e94df4e4 /arch/microblaze/include | |
parent | e721a45fbed13a52093d2cc1962dbb8a754462ea (diff) |
microblaze: Simplify early console binding from DT
Recognize early Linux console from chosen - linux,stdout-path
instead of detecting the first console with appropriate
compatible strings.
This patch solved the problem on system with multiple
consoles.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/prom.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h index d0890d36ef61..34c4e8b27805 100644 --- a/arch/microblaze/include/asm/prom.h +++ b/arch/microblaze/include/asm/prom.h | |||
@@ -26,8 +26,12 @@ | |||
26 | #define HAVE_ARCH_DEVTREE_FIXUPS | 26 | #define HAVE_ARCH_DEVTREE_FIXUPS |
27 | 27 | ||
28 | /* Other Prototypes */ | 28 | /* Other Prototypes */ |
29 | extern int early_uartlite_console(void); | 29 | enum early_consoles { |
30 | extern int early_uart16550_console(void); | 30 | UARTLITE = 1, |
31 | UART16550 = 2, | ||
32 | }; | ||
33 | |||
34 | extern int of_early_console(void *version); | ||
31 | 35 | ||
32 | #ifdef CONFIG_PCI | 36 | #ifdef CONFIG_PCI |
33 | /* | 37 | /* |