-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Marc patch solves mine issue with 48MHz too. But mine IT8712F has running 
watchdog.

This patch adds support for watchdog kill and adds it to Asus M2V-MX SE.

Signed-off-by: Rudolf Marek <[EMAIL PROTECTED]>

Thanks,
Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI2V7J3J9wPJqZRNURAgnqAKCR7lJiotg/Hyzbu+lPpMczXvGExQCgrPRg
evoTkKwmJghISzy15BrvdOc=
=9dDz
-----END PGP SIGNATURE-----
Index: coreboot-v2/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c
===================================================================
--- coreboot-v2.orig/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c	2008-09-23 22:46:39.796481705 +0200
+++ coreboot-v2/src/mainboard/asus/m2v-mx_se/cache_as_ram_auto.c	2008-09-23 22:46:58.063963072 +0200
@@ -226,6 +226,7 @@
 
 	sio_init();
 	it8712f_enable_serial(SERIAL_DEV, TTYS0_BASE);
+	it8712f_kill_watchdog();
 	uart_init();
 	console_init();
 	enable_rom_decode();
Index: coreboot-v2/src/superio/ite/it8712f/it8712f_early_serial.c
===================================================================
--- coreboot-v2.orig/src/superio/ite/it8712f/it8712f_early_serial.c	2008-09-23 22:42:10.984483852 +0200
+++ coreboot-v2/src/superio/ite/it8712f/it8712f_early_serial.c	2008-09-23 22:46:10.919480466 +0200
@@ -32,6 +32,7 @@
 #define IT8712F_CONFIG_REG_CONFIGSEL 0x22 /* Configuration Select. */
 #define IT8712F_CONFIG_REG_CLOCKSEL  0x23 /* Clock Selection. */
 #define IT8712F_CONFIG_REG_SWSUSP    0x24 /* Software Suspend, Flash I/F. */
+#define IT8712F_CONFIG_REG_WATCHDOG  0x72 /* Watchdog control. */
 
 #define IT8712F_CONFIGURATION_PORT   0x2e /* Write-only. */
 
@@ -77,6 +78,16 @@
 
 }
 
+static void it8712f_kill_watchdog(void)
+{
+	it8712f_enter_conf();
+
+	/* Kill the Watchdog */
+	it8712f_sio_write(0x07, IT8712F_CONFIG_REG_WATCHDOG, 0x00);
+
+	it8712f_exit_conf();
+}
+
 /* Enable the peripheral devices on the IT8712F Super I/O chip. */
 static void it8712f_enable_serial(device_t dev, unsigned iobase)
 {

Attachment: fix_m2v_sio.patch.sig
Description: Binary data

--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to