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
This commit is contained in:
Stefan Reinauer 2004-06-28 12:06:20 +00:00
parent f2065a4cf9
commit 7fb8916011
1 changed files with 4 additions and 1 deletions

View File

@ -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);