aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/via/model_c7/model_c7_init.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-04-17 08:37:18 +0000
committerStefan Reinauer <stepan@openbios.org>2009-04-17 08:37:18 +0000
commitaeba92ab5b0afd1464d6b1a275b5f5b00b351b32 (patch)
tree225fbff67fc05e70507ac6ef7b3af32f00bac6f8 /src/cpu/via/model_c7/model_c7_init.c
parent56c51bd120a935e64cfd96d8ad71c9d1f7aab323 (diff)
Add VIA CX700 support, plus VIA vt8454c reference board support.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4126 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/via/model_c7/model_c7_init.c')
-rw-r--r--src/cpu/via/model_c7/model_c7_init.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/cpu/via/model_c7/model_c7_init.c b/src/cpu/via/model_c7/model_c7_init.c
index c32c9b5220..d9d59d1c58 100644
--- a/src/cpu/via/model_c7/model_c7_init.c
+++ b/src/cpu/via/model_c7/model_c7_init.c
@@ -1,12 +1,12 @@
/*
* This file is part of the coreboot project.
*
- * (C) 2007-2008 coresystems GmbH
+ * (C) 2007-2009 coresystems GmbH
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
+ * published by the Free Software Foundation; version 2 of
+ * the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -195,6 +195,11 @@ static void model_c7_init(device_t dev)
/* Gear up */
set_c7_speed(c.x86_model);
+ /* Enable APIC */
+ msr = rdmsr(0x1107);
+ msr.lo |= 1<<24;
+ wrmsr(0x1107, msr);
+
/* Turn on cache */
x86_enable_cache();