Fix x86 target build

OFmem is not available on x86.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@860 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2010-09-06 20:56:52 +00:00
parent 28fed458ff
commit 7ec1ce2826

View File

@@ -506,7 +506,7 @@ elf_init_program(void)
size = MIN(phdr[i].p_filesz, phdr[i].p_memsz);
if (!size)
continue;
#ifndef CONFIG_SPARC32
#if !defined(CONFIG_SPARC32) && !defined(CONFIG_X86)
if( ofmem_claim( phdr[i].p_vaddr, phdr[i].p_memsz, 0 ) == -1 ) {
printk("Ignoring failed claim for va %lx memsz %lx!\n",
(unsigned long)phdr[i].p_vaddr,