summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-10-27 19:29:26 +0000
committerLeah Rowe <leah@libreboot.org>2024-10-27 19:32:36 +0000
commit9bdec645a30ff81abb3f6d3db6c974bf6ab6321f (patch)
tree0ff9fb81306251f9105493278fa053f686abe98d /include
parent6c78942290df512b6ee922ca408404f57e3bb8c2 (diff)
3050micro: Re-enable SeaGRUB
Remove what is now unnecessary bloat, for ensuring that GRUB is the primary payload; SeaGRUB is the only preference, as per lbmk design. The SeaBIOS hanging issue was fixed, so SeaGRUB is OK now. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r--include/rom.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 9d11e757..1d7be098 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -122,10 +122,9 @@ mkcorebootbin()
add_seabios()
{
- [ -n "$seabiosname" ] || seabiosname="fallback/payload"
_seabioself="elf/seabios/default/$initmode/bios.bin.elf"
- cbfs "$tmprom" "$_seabioself" "$seabiosname"
+ cbfs "$tmprom" "$_seabioself" "fallback/payload"
x_ "$cbfstool" "$tmprom" add-int -i 3000 -n etc/ps2-keyboard-spinup
_z="2"; [ "$initmode" = "vgarom" ] && _z="0"
@@ -139,14 +138,12 @@ add_seabios()
[ "$payload_grub" = "y" ] && add_grub
- [ "$seabiosname" = "fallback/payload" ] && cprom
- [ "$payload_grub" = "y" ] && pname="seagrub" && mkseagrub; :
+ cprom && [ "$payload_grub" = "y" ] && pname="seagrub" && mkseagrub; :
}
add_grub()
{
- [ -n "$grubname" ] || grubname="img/grub2"
- cbfs "$tmprom" "$grubelf" "$grubname"
+ cbfs "$tmprom" "$grubelf" "img/grub2"
printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" \
> "$TMPDIR/tmpcfg" || $err "$target: !insert scandisk"
cbfs "$tmprom" "$TMPDIR/tmpcfg" scan.cfg raw
@@ -154,7 +151,6 @@ 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##*/}"; :