Sven Schnelle (sv...@stackframe.org) just uploaded a new patch set to gerrit, 
which you can find at http://review.coreboot.org/592

-gerrit

commit 715643ffb2595fb7efb8f6d59fff2dd9634a9a96
Author: Sven Schnelle <sv...@stackframe.org>
Date:   Tue Jan 31 12:33:01 2012 +0100

    X60/T60: fix default baudrate
    
    Value required to get 115200 is actually 0, not 5.
    
    Change-Id: Id1385822bf2213c035c4f378a72168ed6676ad03
    Signed-off-by: Sven Schnelle <sv...@stackframe.org>
---
 src/mainboard/lenovo/t60/mainboard.c |    2 +-
 src/mainboard/lenovo/x60/mainboard.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mainboard/lenovo/t60/mainboard.c 
b/src/mainboard/lenovo/t60/mainboard.c
index a1de756..1817b4b 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -91,7 +91,7 @@ static void mainboard_enable(device_t dev)
                set_option("tft_brightness", &(u8[]){ 0xff });
                set_option("volume", &(u8[]){ 0x03 });
                /* set baudrate to 115200 baud */
-               set_option("baud_rate", &(u8[]){ 0x05 });
+               set_option("baud_rate", &(u8[]){ 0x00 });
                /* set default debug_level (DEFAULT_CONSOLE_LOGLEVEL starts at 
1) */
                set_option("debug_level", &(u8[]) { 
CONFIG_DEFAULT_CONSOLE_LOGLEVEL+1 });
                set_option("cmos_defaults_loaded", &(u8[]){ 0x01 });
diff --git a/src/mainboard/lenovo/x60/mainboard.c 
b/src/mainboard/lenovo/x60/mainboard.c
index ee6ac14..89ac489 100644
--- a/src/mainboard/lenovo/x60/mainboard.c
+++ b/src/mainboard/lenovo/x60/mainboard.c
@@ -89,7 +89,7 @@ static void mainboard_enable(device_t dev)
                set_option("tft_brightness", &(u8[]){ 0xff });
                set_option("volume", &(u8[]){ 0x03 });
                /* set baudrate to 115200 baud */
-               set_option("baud_rate", &(u8[]){ 0x05 });
+               set_option("baud_rate", &(u8[]){ 0x00 });
                /* set default debug_level (DEFAULT_CONSOLE_LOGLEVEL starts at 
1) */
                set_option("debug_level", &(u8[]) { 
CONFIG_DEFAULT_CONSOLE_LOGLEVEL+1 });
                set_option("cmos_defaults_loaded", &(u8[]){ 0x01 });

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to