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:
@@ -128,9 +128,12 @@ unsigned long cpu_initialize(struct mem_range *mem)
|
|||||||
|
|
||||||
/* Turn on caching if we haven't already */
|
/* Turn on caching if we haven't already */
|
||||||
cache_on(mem);
|
cache_on(mem);
|
||||||
|
#if i586==1
|
||||||
display_cpuid();
|
display_cpuid();
|
||||||
|
#endif
|
||||||
|
#if i686==1
|
||||||
mtrr_check();
|
mtrr_check();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* some cpus need a fixup done. This is the hook for doing that. */
|
/* some cpus need a fixup done. This is the hook for doing that. */
|
||||||
cpufixup(mem);
|
cpufixup(mem);
|
||||||
|
Reference in New Issue
Block a user