From ce38a058863f44608d4da5270e6abfe5d5bdda89 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Thu, 8 Apr 2010 21:22:39 +0000 Subject: [PATCH] According to the OF spec, any calls to claim made through the /memory node should not attempt to add a memory translation. This solves a problem in Milax boot whereby the boot loader was attempting to map the address after it had already been done. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@737 f158a5a8-5612-0410-a976-696ce0be7e32 --- arch/sparc64/lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sparc64/lib.c b/arch/sparc64/lib.c index ce47574..6a8a6ea 100644 --- a/arch/sparc64/lib.c +++ b/arch/sparc64/lib.c @@ -376,8 +376,6 @@ mem_claim( void ) phys = ofmem_claim_phys(phys, size, align); - ofmem_map(phys, phys, size, -1); - PUSH(phys & 0xffffffffUL); PUSH(phys >> 32); }