diff options
author | Stefan Reinauer <stepan@openbios.org> | 2004-06-28 12:06:20 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2004-06-28 12:06:20 +0000 |
commit | 7fb8916011f66cc82feaf1a85848ad28209b5613 (patch) | |
tree | b364c0b5ec6f28f9d3d7ee21733799268aa370c5 | |
parent | f2065a4cf9d8a66f237dfb0f7502b19f89a852c9 (diff) | |
download | coreboot-7fb8916011f66cc82feaf1a85848ad28209b5613.tar.xz |
make cpuid and mtrr check conditional. They are not there on cpus older than
i586/i686.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1613 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/arch/i386/lib/cpu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/i386/lib/cpu.c b/src/arch/i386/lib/cpu.c index 2006bc3a83..23c35bc816 100644 --- a/src/arch/i386/lib/cpu.c +++ b/src/arch/i386/lib/cpu.c @@ -128,9 +128,12 @@ unsigned long cpu_initialize(struct mem_range *mem) /* Turn on caching if we haven't already */ cache_on(mem); - +#if i586==1 display_cpuid(); +#endif +#if i686==1 mtrr_check(); +#endif /* some cpus need a fixup done. This is the hook for doing that. */ cpufixup(mem); |