diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-06 20:40:27 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-01-23 20:37:48 +0100 |
commit | 2657e841097b33bc6f50470f852d2e54fb35f5f6 (patch) | |
tree | e9bcd8d212099c20543dd5b9ecdb2fd074d13f6b /src/arch/x86/boot/boot.c | |
parent | b2939f7486b80a3f7fc5fc7fd5723dd58984d31d (diff) | |
download | coreboot-2657e841097b33bc6f50470f852d2e54fb35f5f6.tar.xz |
Multiboot: remove multiboot tables generation.
GRUB2-as-payload doesn't use them. Libpayload can live with just coreboot tables
if loaded as payload. memtest86+ can use them but is buggy with them. Solaris
needs a huge boot archive not supported by coreboot and too big to fit in
flash (dozens of megabytes). All-in-all looks like no users are left for this.
Change-Id: Id92f73be5a397db80f5b0132ee57c37ee6eeb563
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4628
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/x86/boot/boot.c')
-rw-r--r-- | src/arch/x86/boot/boot.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/arch/x86/boot/boot.c b/src/arch/x86/boot/boot.c index 1b28a4c50c..3ef46a5bf0 100644 --- a/src/arch/x86/boot/boot.c +++ b/src/arch/x86/boot/boot.c @@ -2,7 +2,6 @@ #include <arch/stages.h> #include <ip_checksum.h> #include <string.h> -#include <cpu/x86/multiboot.h> #if CONFIG_RELOCATABLE_RAMSTAGE /* When the ramstage is relocatable the elf loading ensures an elf image cannot @@ -21,9 +20,6 @@ void jmp_to_elf_entry(void *entry, unsigned long unused1, unsigned long unused2) :: "r" (entry) -#if CONFIG_MULTIBOOT - , "b"(mbi), "a" (MB_MAGIC2) -#endif ); } #else @@ -123,11 +119,7 @@ void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size) :: "ri" (lb_start), "ri" (buffer), "ri" (lb_size), "ri" (entry), -#if CONFIG_MULTIBOOT - "ri"(mbi), "ri" (MB_MAGIC2) -#else "ri"(0), "ri" (0) -#endif ); } #endif /* CONFIG_RELOCATABLE_RAMSTAGE */ |