From 29490a17ced79768a337642f36066c5c07922966 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Thu, 21 Oct 2004 02:43:15 +0000 Subject: - 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 --- src/cpu/amd/mtrr/amd_earlymtrr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/cpu/amd/mtrr') diff --git a/src/cpu/amd/mtrr/amd_earlymtrr.c b/src/cpu/amd/mtrr/amd_earlymtrr.c index ca19a57faa..b55f56d604 100644 --- a/src/cpu/amd/mtrr/amd_earlymtrr.c +++ b/src/cpu/amd/mtrr/amd_earlymtrr.c @@ -27,7 +27,12 @@ static void amd_early_mtrr_init(void) }; 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); /* Enable memory access for 0 - 1MB using top_mem */ -- cgit v1.2.3