[LinuxBIOS] [PATCH] v2: Fix GA-M57SLI watchdog clocksource

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Nov 14 17:09:15 CET 2007


Gigabyte M57SLI: Fix watchdog clocksource to be external, not internal.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

--- LinuxBIOSv2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c	2007-11-14 16:47:50.000000000 +0100
+++ LinuxBIOSv2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c	2007-11-14 16:47:50.000000000 +0100
@@ -273,8 +273,8 @@
         }
 
 	pnp_enter_ext_func_mode(SERIAL_DEV);
-	/* The following line will set CLKIN to 24 MHz */
-	pnp_write_config(SERIAL_DEV, IT8716F_CONFIG_REG_CLOCKSEL, 1);
+	/* The following line will set CLKIN to 24 MHz, external */
+	pnp_write_config(SERIAL_DEV, IT8716F_CONFIG_REG_CLOCKSEL, 0x11);
 	tmp = pnp_read_config(SERIAL_DEV, IT8716F_CONFIG_REG_SWSUSP);
 	/* Is serial flash enabled? Then enable writing to serial flash. */
 	if (tmp & 0x0e) {






More information about the coreboot mailing list