mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
e5e7d12503
commit
ce38a05886
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user