summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
Diffstat (limited to 'script/roms')
-rwxr-xr-xscript/roms10
1 files changed, 3 insertions, 7 deletions
diff --git a/script/roms b/script/roms
index 51ce4fd7..90521041 100755
--- a/script/roms
+++ b/script/roms
@@ -17,7 +17,6 @@ rp2040x="$rp2040src/build/pico_serprog.uf2"
picosdk="src/pico-sdk"
stm32src="src/stm32-vserprog"
stm32x="$stm32src/stm32-vserprog.hex"
-tmpcfg="$tmpdir/tmpcfg"
# Disable all payloads by default.
# target.cfg files have to specifically enable [a] payload(s)
@@ -217,12 +216,9 @@ build_grub_roms()
# we only need insert grub.elf once, for each coreboot config:
cbfs "$tmprom" "$grubelf" "$grub_cbfs"
- printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" > "$tmpcfg" || \
- $err "set grub_scan_disk, $grub_scan_disk, $tmpcfg"
- cbfs "$tmprom" "$tmpcfg" scan.cfg raw
-
- printf "set timeout=%s\n" "$grub_timeout" > "$tmpcfg" || $err "!time"
- [ -z "$grub_timeout" ] || cbfs "$tmprom" "$tmpcfg" timeout.cfg raw
+ printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" \
+ > "$tmpdir/tmpcfg" || $err "set grub_scan_disk, $grub_scan_disk"
+ cbfs "$tmprom" "$tmpdir/tmpcfg" scan.cfg raw
newrom="$romdir/${payload1}_${board}_${initmode}_$displaymode.rom"
[ "$initmode" = "normal" ] && newrom="$romdir/${payload1}_" \