From 281e00a3be453a169d854f824a460359d10f92bb Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 1 Aug 2004 22:48:16 +0000 Subject: * Code cleanup * Patch by Sascha Hauer, 28 Jun: - add generic support for Motorola i.MX architecture - add support for mx1ads, mx1fs2 and scb9328 boards * Patches by Marc Leeman, 23 Jul 2004: - Add define for the PCI/Memory Buffer Configuration Register - corrected comments in cpu/mpc824x/cpu_init.c * Add support for multiple serial interfaces (for example to allow modem dial-in / dial-out) --- board/lwmon/lwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'board/lwmon') diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c index 6776dbf474..904e7ea98c 100644 --- a/board/lwmon/lwmon.c +++ b/board/lwmon/lwmon.c @@ -40,6 +40,7 @@ V* Verification: dzu@denx.de #include #include #include +#include #include #include /* 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; -- cgit v1.2.1