summaryrefslogtreecommitdiff
path: root/src/cpu/p5
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-07-30 03:05:20 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-07-30 03:05:20 +0000
commit57ffeb0578db71b1c57d9e4137def42aac34fe18 (patch)
treec130080b5a000b31b04639535d22274b256f6b65 /src/cpu/p5
parentb265254e1c50af2e3b84c0628016dda4ccf253d7 (diff)
downloadcoreboot-57ffeb0578db71b1c57d9e4137def42aac34fe18.tar.xz
updates from YhLu, plus fixes for PPC/K8 issues.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1059 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/p5')
-rw-r--r--src/cpu/p5/cpuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/p5/cpuid.c b/src/cpu/p5/cpuid.c
index 2d3d3a87b5..ab4a09d421 100644
--- a/src/cpu/p5/cpuid.c
+++ b/src/cpu/p5/cpuid.c
@@ -1,13 +1,13 @@
#include <console/console.h>
#include <cpu/p5/cpuid.h>
-#ifdef i586
+#if i586==1
#include <cpu/p6/msr.h>
#endif
int mtrr_check(void)
{
-#ifdef i686
+#if i686==1
/* Only Pentium Pro and later have MTRR */
msr_t msr;
printk_debug("\nMTRR check\n");