From 247c7276938f2ac92944112e218e0d541dff04e9 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Tue, 31 Jan 2012 12:33:01 +0100 Subject: [PATCH] X60/T60: fix default baudrate Value required to get 115200 is actually 0, not 5. Change-Id: Id1385822bf2213c035c4f378a72168ed6676ad03 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/592 Reviewed-by: Peter Stuge Tested-by: build bot (Jenkins) --- 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 a1de75670..1817b4b38 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 ee6ac144f..89ac48956 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 }); -- 2.25.1