summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/coreboot/dell3050micro_fsp_16mb/target.cfg2
-rw-r--r--include/rom.sh4
2 files changed, 4 insertions, 2 deletions
diff --git a/config/coreboot/dell3050micro_fsp_16mb/target.cfg b/config/coreboot/dell3050micro_fsp_16mb/target.cfg
index 03ad3ecb..12448aa7 100644
--- a/config/coreboot/dell3050micro_fsp_16mb/target.cfg
+++ b/config/coreboot/dell3050micro_fsp_16mb/target.cfg
@@ -9,4 +9,4 @@ vcfg="3050micro"
build_depend="seabios/default grub/xhci memtest86plus"
IFD_platform="sklkbl"
grubname="fallback/payload" # make GRUB the primary payload on this board
-seabiosname="seabios.elf" # seabios is known to hang on this board
+seabiosname="seabios.elf" # this actually disables the seabios payload
diff --git a/include/rom.sh b/include/rom.sh
index d4071169..e7745271 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -135,7 +135,8 @@ add_seabios()
[ "$payload_grub" = "y" ] && add_grub
- cprom && [ "$payload_grub" = "y" ] && pname="seagrub" && mkseagrub; :
+ [ "$seabiosname" = "fallback/payload" ] && cprom
+ [ "$payload_grub" = "y" ] && pname="seagrub" && mkseagrub; :
}
add_grub()
@@ -149,6 +150,7 @@ add_grub()
mkseagrub()
{
+ [ "$grubname" = "fallback/payload" ] && pname="grub"
cbfs "$tmprom" "$grubdata/bootorder" bootorder raw
for keymap in config/data/grub/keymap/*.gkb; do
[ -f "$keymap" ] && cprom "${keymap##*/}"; :