From fedea3adcbcf50ee99c6b9b28146f7f745a539f6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 Aug 2008 18:17:27 +0800 Subject: [PATCH] fix serial baudrate config. --- Targets/Bonito2fdev/Bonito/tgt_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Targets/Bonito2fdev/Bonito/tgt_machdep.c b/Targets/Bonito2fdev/Bonito/tgt_machdep.c index 55655289..ec18ffb7 100644 --- a/Targets/Bonito2fdev/Bonito/tgt_machdep.c +++ b/Targets/Bonito2fdev/Bonito/tgt_machdep.c @@ -311,13 +311,13 @@ ppns16550 (int op, struct DevEntry *dev, unsigned long param, int data) ConfigEntry ConfigTable[] = { #ifdef HAVE_NB_SERIAL - { (char *)COM3_BASE_ADDR, 0, ns16550, 256, CONS_BAUD, NS16550HZ/2 }, + { (char *)COM3_BASE_ADDR, 0, ns16550, 256, CONS_BAUD, NS16550HZ }, #elif defined(USE_SM502_UART0) { (char *)0xb6030000, 0, ns16550, 256, CONS_BAUD, NS16550HZ/2 }, #elif defined(USE_GPIO_SERIAL) { (char *)COM1_BASE_ADDR, 0,ppns16550, 256, CONS_BAUD, NS16550HZ }, #else - { (char *)COM1_BASE_ADDR, 0, ns16550, 256, CONS_BAUD, NS16550HZ }, + { (char *)COM1_BASE_ADDR, 0, ns16550, 256, CONS_BAUD, NS16550HZ/2 }, #endif #if NMOD_VGACON >0 #if NMOD_FRAMEBUFFER >0