- We already know the cache is disabled so don't bother disabling it.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1696 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
f19e2c766a
commit
29490a17ce
|
@ -27,7 +27,12 @@ static void amd_early_mtrr_init(void)
|
||||||
};
|
};
|
||||||
msr_t msr;
|
msr_t msr;
|
||||||
|
|
||||||
disable_cache();
|
/* wbinvd which is called in disable_cache() causes hangs on Opterons
|
||||||
|
* if there is no data in the cache.
|
||||||
|
* At this point we should not have the cache enabled so don't bother
|
||||||
|
* disabling it.
|
||||||
|
*/
|
||||||
|
/* disable_cache(); */
|
||||||
do_early_mtrr_init(mtrr_msrs);
|
do_early_mtrr_init(mtrr_msrs);
|
||||||
|
|
||||||
/* Enable memory access for 0 - 1MB using top_mem */
|
/* Enable memory access for 0 - 1MB using top_mem */
|
||||||
|
|
Loading…
Reference in New Issue