aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-18 19:07:16 +0200
committerKevin O'Connor <kevin@koconnor.net>2015-06-01 12:11:36 -0400
commit1b911d7aed7b0b2db5738d02a3c6964cdf895944 (patch)
treedaddc95d4319f10f36f29c73485d4d4b3e15f84c /src/Kconfig
parent67643955c7467781c28c4da1669775d7564dc74a (diff)
downloadseabios-1b911d7aed7b0b2db5738d02a3c6964cdf895944.tar.gz
Add multiboot support.
I've been successfully using SeaBIOS as secondary bootloader. In more details I have GRUB2-as-payload in flash together with coreboot. SeaBIOS binary is on the HDD and loaded by GRUB when needed. This has an unfortunate consequence that I have to keep vga oprom in flash even if usually I boot without it. This patches makes bios.bin.elf multiboot executable with files passed as modules. Example: menuentry "SeaBIOS (mb)" --unrestricted { root=ahci0,2 multiboot /bios.bin.elf module /vgabios_x230.rom name=pci8086,0166.rom } the parameter name= specifies under which name SeaBIOS will see it. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 19f4db1c..14c38fb2 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -102,6 +102,13 @@ endchoice
default y
help
Support floppy images in coreboot flash.
+ config MULTIBOOT
+ depends on COREBOOT
+ bool "multiboot support"
+ default y
+ help
+ Add multiboot header in bios.bin.raw and accept files supplied
+ as multiboot modules.
config ENTRY_EXTRASTACK
bool "Use internal stack for 16bit interrupt entry points"
default y