[LinuxBIOS] r2973 - trunk/LinuxBIOSv2/src/mainboard/gigabyte/m57sli

svn at openbios.org svn at openbios.org
Wed Nov 14 18:57:05 CET 2007


Author: hailfinger
Date: 2007-11-14 18:57:04 +0100 (Wed, 14 Nov 2007)
New Revision: 2973

Modified:
   trunk/LinuxBIOSv2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c
Log:
Gigabyte M57SLI: Fix watchdog clocksource to be external, not internal.

Reason: The existing code does not tell us why it sets the watchdog
clock at all, but since it appears in cache_as_ram_auto.c instead of
the usual place (Config.lb) there has to be some meaning to it.
Simply do what the proprietary bios does: Use the external clock source.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Ward Vandewege <ward at gnu.org>


Modified: trunk/LinuxBIOSv2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c	2007-11-14 15:09:30 UTC (rev 2972)
+++ trunk/LinuxBIOSv2/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c	2007-11-14 17:57:04 UTC (rev 2973)
@@ -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