X60/T60: fix default baudrate
authorSven Schnelle <svens@stackframe.org>
Tue, 31 Jan 2012 11:33:01 +0000 (12:33 +0100)
committerSven Schnelle <svens@stackframe.org>
Tue, 31 Jan 2012 11:52:18 +0000 (12:52 +0100)
Value required to get 115200 is actually 0, not 5.

Change-Id: Id1385822bf2213c035c4f378a72168ed6676ad03
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/592
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: build bot (Jenkins)
src/mainboard/lenovo/t60/mainboard.c
src/mainboard/lenovo/x60/mainboard.c

index a1de75670cde2e6c3a53dc81b766fec674273e82..1817b4b381056e3b1072993f2898fc0f190389c0 100644 (file)
@@ -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 });
index ee6ac144fc3dae38fa27675daa6ff93d61b55f02..89ac48956bf01dc72baa763c9e7e142b8741a12d 100644 (file)
@@ -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 });