summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/mtarvon
diff options
context:
space:
mode:
authorEd Swierk <eswierk@arastra.com>2008-03-30 11:31:15 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-30 11:31:15 +0000
commit71f846c13769f037fbdf649224d03377948b7fa9 (patch)
tree8fb04b3d55db914af98a7f35e89f6b5af1799679 /src/mainboard/intel/mtarvon
parent1e185e8561bc42b0f77159e4fa7ef0c652a2f6eb (diff)
Like other Intel chipsets, the Intel 3100 has a TCO timer that reboots
the system automatically unless software resets the timer periodically. The extra reboot extends boot time by several seconds. The attached patch adds a function to the Intel 3100 southbridge code that halts the TCO timer, thus preventing this extra reboot, and calls the function early in the boot process on the Mt. Arvon board. It also fixes a bug in the LPC device initialization -- the ACPI BAR enable flag is bit 7, not bit 4. Signed-off-by: Ed Swierk <eswierk@arastra.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3198 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/intel/mtarvon')
-rw-r--r--src/mainboard/intel/mtarvon/auto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/intel/mtarvon/auto.c b/src/mainboard/intel/mtarvon/auto.c
index 643e9841ec..dd4b76346c 100644
--- a/src/mainboard/intel/mtarvon/auto.c
+++ b/src/mainboard/intel/mtarvon/auto.c
@@ -90,6 +90,9 @@ static void main(unsigned long bist)
uart_init();
console_init();
+ /* Prevent the TCO timer from rebooting us */
+ i3100_halt_tco_timer();
+
/* Halt if there was a built in self test failure */
report_bist_failure(bist);