diff options
author | Steve Markgraf <steve@steve-m.de> | 2010-07-15 02:18:46 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-07-15 13:50:55 +0200 |
commit | 39df9318dc74803c735fb877c7ea0bbbad951c24 (patch) | |
tree | bfea92e1a0abcd555acdabe4370ccecd3eaab93b /src/host/osmocon | |
parent | 0ebf1d03525e7e344eb84e6d31146cb2ef912a9c (diff) |
osmocon.c: enable hdlc console for mtk romloader targets
Since the mt622x uart driver is now in a working state,
we can actually use the sercomm console.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/host/osmocon')
-rw-r--r-- | src/host/osmocon/osmocon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 1f4d9ca8..fb217b2b 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -1157,11 +1157,11 @@ static int handle_read_mtk(void) sizeof(dnload.load_address))) break; printf("Received branch address ack, code should run now\n"); - - /* uncomment this once we have working uart driver & sercomm */ - //dnload.mtk_state = MTK_FINISHED; - //dnload.serial_fd.when = BSC_FD_READ; - //dnload.print_hdlc = 1; + serial_set_baudrate(MODEM_BAUDRATE); + dnload.serial_fd.when = BSC_FD_READ; + dnload.mtk_state = MTK_FINISHED; + dnload.write_ptr = dnload.data; + dnload.print_hdlc = 1; break; default: break; |