diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-11-28 21:12:11 +0100 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-12-01 11:55:43 +0100 |
commit | 2c1f4d2d836bfb5728c692e08bda172a1639ec81 (patch) | |
tree | b3afdaec5100c88cfe184c7bd74fa67cbb7336c4 /src/mainboard/lenovo/t60 | |
parent | 0dbfb54a721dd905707a0c152754b78b9dfb69b0 (diff) | |
download | coreboot-2c1f4d2d836bfb5728c692e08bda172a1639ec81.tar.xz |
X60/T60: reset baudrate loglevel to sane values
Change-Id: Iaf5861e9db0a41a184da6d2e515e3b9afe0655d6
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/459
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/t60')
-rw-r--r-- | src/mainboard/lenovo/t60/mainboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 }); } } |