From 39df9318dc74803c735fb877c7ea0bbbad951c24 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Thu, 15 Jul 2010 02:18:46 +0200 Subject: 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 --- src/host/osmocon/osmocon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/host/osmocon/osmocon.c') 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; -- cgit v1.2.3