From 0513a8ea99303fa32b0e3af96a8fb7559bf21ff6 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 28 Jul 2009 11:28:32 +0900 Subject: [PATCH] s5pc1xx: uart: revert hard code Signed-off-by: Minkyu Kang --- drivers/serial/serial_s5pc1xx.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/serial/serial_s5pc1xx.c b/drivers/serial/serial_s5pc1xx.c index d76a8c6..8fbd2eb 100644 --- a/drivers/serial/serial_s5pc1xx.c +++ b/drivers/serial/serial_s5pc1xx.c @@ -84,10 +84,8 @@ void serial_setbrg(void) i = (pclk / baudrate) % 16; -// uart->UBRDIV = pclk / baudrate / 16 - 1; -// uart->UDIVSLOT = udivslot[i]; - uart->UBRDIV = 0x23; - uart->UDIVSLOT = 0x3; + uart->UBRDIV = pclk / baudrate / 16 - 1; + uart->UDIVSLOT = udivslot[i]; } /* -- 2.7.4