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/x60 | |
parent | 0dbfb54a721dd905707a0c152754b78b9dfb69b0 (diff) |
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/x60')
-rw-r--r-- | src/mainboard/lenovo/x60/mainboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index 5bc1dcae81..ee6ac144fc 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -88,6 +88,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 }); } } |