Fix init of non-console serial lines
commit017271c84a1f5b8dc7a8869b2bf4d77347cce647
authorHarald Welte <laforge@openmoko.org>
Tue, 7 Oct 2008 17:49:18 +0000 (7 18:49 +0100)
committerAndy Green <agreen@pads.home.warmcat.com>
Tue, 7 Oct 2008 17:49:18 +0000 (7 18:49 +0100)
tree603ecb54258d3bd7b053b6afb30b9afa3e380da8
parent650149a53dbdd48bf6dfef90930c8ab182adb512
Fix init of non-console serial lines

[serial]: Fix initialization of non-console serial lines

When using a serial port for something that is not console operation
(like the 'terminal' mode with GSM or GPS on Openmoko GTA02), then
the serial port needs to be initialized properly.

Signed-off-by: Harald Welte <laforge@openmoko.org>
common/cmd_terminal.c
common/serial.c
include/serial.h