From 35a7ef00a22908ace6e17534de0859d2fb4b3219 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Sat, 10 Apr 2010 11:08:57 +0000 Subject: [PATCH] Don't try and update the MMU mappings when claiming physical memory. This is probably related to r737 and seems to solve an issue whereby Forth starts doing strange things just after attemping a claim on physical memory resource. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@739 f158a5a8-5612-0410-a976-696ce0be7e32 --- libopenbios/ofmem_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libopenbios/ofmem_common.c b/libopenbios/ofmem_common.c index c2426d2..18dfbd7 100644 --- a/libopenbios/ofmem_common.c +++ b/libopenbios/ofmem_common.c @@ -401,8 +401,6 @@ static ucell ofmem_claim_phys_( ucell phys, ucell size, ucell align, } add_entry( phys, size, &ofmem->phys_range ); - ofmem_update_translations(); - return phys; }