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)
This commit is contained in:
Sven Schnelle 2011-11-28 21:12:11 +01:00
parent 0dbfb54a72
commit 2c1f4d2d83
2 changed files with 8 additions and 0 deletions

View File

@ -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 });
}
}

View File

@ -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 });
}
}