[OpenBIOS] [commit] r737 - trunk/openbios-devel/arch/sparc64

repository service svn at openbios.org
Thu Apr 8 22:22:40 CEST 2010


Author: mcayland
Date: Thu Apr  8 23:22:39 2010
New Revision: 737
URL: http://tracker.coreboot.org/trac/openbios/changeset/737

Log:
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 <mark.cave-ayland at siriusit.co.uk>

Modified:
   trunk/openbios-devel/arch/sparc64/lib.c

Modified: trunk/openbios-devel/arch/sparc64/lib.c
==============================================================================
--- trunk/openbios-devel/arch/sparc64/lib.c	Thu Apr  8 23:19:09 2010	(r736)
+++ trunk/openbios-devel/arch/sparc64/lib.c	Thu Apr  8 23:22:39 2010	(r737)
@@ -376,8 +376,6 @@
 
     phys = ofmem_claim_phys(phys, size, align);
 
-    ofmem_map(phys, phys, size, -1);
-
     PUSH(phys & 0xffffffffUL);
     PUSH(phys >> 32);
 }



More information about the OpenBIOS mailing list