diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-03-15 10:04:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-03-15 10:04:41 +0000 |
commit | 6d07c932bb5258b10ce76c48ff2a7475da19fd85 (patch) | |
tree | 99723557aeb3bd23c6c33c95eb981b5af95c7f4b /src/include/boot | |
parent | 8f556be7668889d3a7fc2418ffcadbe7af99fb77 (diff) |
Fix all build problems on PPC except the _SDA_BASE issues caused by the
code expecting too old binutils(?).
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4007 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/boot')
-rw-r--r-- | src/include/boot/elf.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/boot/elf.h b/src/include/boot/elf.h index 36ad670d4c..98818aee79 100644 --- a/src/include/boot/elf.h +++ b/src/include/boot/elf.h @@ -389,10 +389,12 @@ typedef Elf64_Ehdr Elf_ehdr; typedef Elf64_Phdr Elf_phdr; #endif -extern int elf_check_arch(Elf_ehdr *ehdr); -extern void jmp_to_elf_entry(void *entry, unsigned long buffer); +int elf_check_arch(Elf_ehdr *ehdr); +void jmp_to_elf_entry(void *entry, unsigned long buffer); struct lb_memory; -extern int elfboot(struct lb_memory *mem); +int elfboot(struct lb_memory *mem); +/* Temporary compile fix, FILO should be dropped from coreboot */ +int filo(struct lb_memory *mem); #define FIRMWARE_TYPE "coreboot" #define BOOTLOADER "elfboot" |