From 2c1f4d2d836bfb5728c692e08bda172a1639ec81 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Mon, 28 Nov 2011 21:12:11 +0100 Subject: X60/T60: reset baudrate loglevel to sane values Change-Id: Iaf5861e9db0a41a184da6d2e515e3b9afe0655d6 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/459 Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/t60/mainboard.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/lenovo/t60') diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c index 19ac221b98..a1de75670c 100644 --- a/src/mainboard/lenovo/t60/mainboard.c +++ b/src/mainboard/lenovo/t60/mainboard.c @@ -90,6 +90,10 @@ static void mainboard_enable(device_t dev) printk(BIOS_INFO, "Restoring CMOS defaults\n"); set_option("tft_brightness", &(u8[]){ 0xff }); set_option("volume", &(u8[]){ 0x03 }); + /* set baudrate to 115200 baud */ + set_option("baud_rate", &(u8[]){ 0x05 }); + /* 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 }); } } -- cgit v1.2.3