Fix the sys_info.h header file so it doesn't reference functions both inside and outside of libopenbios, and move the firmware

configuration header file to include/arch/common. Following through the code showed that elfnote.c and linuxbios.c were being 
used by sys_info and so these are also renamed to elf_info.c and linuxbios_info.c for clarity.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@693 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-03-14 16:09:44 +00:00
committed by Mark Cave-Ayland
parent da4cc1d0bd
commit f84dd73af4
62 changed files with 68 additions and 65 deletions

View File

@@ -4,15 +4,15 @@
<object source="bindings.c"/>
<object source="client.c"/>
<object source="console_common.c"/>
<object source="elfnote.c" condition="X86"/>
<object source="elfnote.c" condition="AMD64"/>
<object source="elfnote.c" condition="SPARC32"/>
<object source="elfnote.c" condition="SPARC64"/>
<object source="elfload.c" condition="PPC"/>
<object source="elf_info.c" condition="X86"/>
<object source="elf_info.c" condition="AMD64"/>
<object source="elf_info.c" condition="SPARC32"/>
<object source="elf_info.c" condition="SPARC64"/>
<object source="elf_info.c" condition="PPC"/>
<object source="font_8x8.c" condition="FONT_8X8"/>
<object source="font_8x16.c" condition="FONT_8X16"/>
<object source="ipchecksum.c"/>
<object source="linuxbios.c" condition="LINUXBIOS"/>
<object source="linuxbios_info.c" condition="LINUXBIOS"/>
<object source="ofmem_common.c" condition="OFMEM"/>
</library>

View File

@@ -1,7 +1,7 @@
/* Support for ELF Boot Proposal as a boot image */
#include "openbios/config.h"
#include "elf_boot.h"
#include "sys_info.h"
#include "libopenbios/sys_info.h"
#include "asm/io.h"
#include "libopenbios/ipchecksum.h"
#include "openbios-version.h"

View File

@@ -6,7 +6,7 @@
#include "asm/io.h"
#include "linuxbios.h"
#include "libopenbios/ipchecksum.h"
#include "sys_info.h"
#include "libopenbios/sys_info.h"
#ifdef CONFIG_DEBUG_BOOT
#define debug printk