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@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@737 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-04-08 21:22:39 +00:00
committed by Mark Cave-Ayland
parent e5e7d12503
commit ce38a05886

View File

@@ -376,8 +376,6 @@ mem_claim( void )
phys = ofmem_claim_phys(phys, size, align); phys = ofmem_claim_phys(phys, size, align);
ofmem_map(phys, phys, size, -1);
PUSH(phys & 0xffffffffUL); PUSH(phys & 0xffffffffUL);
PUSH(phys >> 32); PUSH(phys >> 32);
} }