diff options
Diffstat (limited to 'board/lwmon/lwmon.c')
-rw-r--r-- | board/lwmon/lwmon.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c index 6776dbf4740..904e7ea98c5 100644 --- a/board/lwmon/lwmon.c +++ b/board/lwmon/lwmon.c @@ -40,6 +40,7 @@ V* Verification: dzu@denx.de #include <command.h> #include <malloc.h> #include <post.h> +#include <serial.h> #include <linux/types.h> #include <linux/string.h> /* for strdup */ @@ -468,6 +469,13 @@ int board_postclk_init (void) return (0); } +struct serial_device * default_serial_console (void) +{ + DECLARE_GLOBAL_DATA_PTR; + + return gd->do_mdm_init ? &serial_scc_device : &serial_smc_device; +} + static void kbd_init (void) { DECLARE_GLOBAL_DATA_PTR; |