summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-13 01:07:53 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-13 01:07:53 +0100
commit5811e53e828504c0cdf6583d6d2dd1e82585b15d (patch)
tree98db57d7f66aaf0deccc4c5eabcaf121376af154
parent3bd82b7679ae9af99caf4da1a81e4fde85f56a42 (diff)
build/boot/roms: remove unused legacy code
this cuttype is no longer used lbmk creates truncated me setups now, on ifd platforms
-rwxr-xr-xresources/scripts/build/boot/roms_helper8
1 files changed, 1 insertions, 7 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index d1a80335..0c0b16eb 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -711,13 +711,7 @@ moverom()
printf "\nCreating new ROM image: %s\n" "${_newrom}"
- if [ "${cuttype}" = "4MiB IFD BIOS region" ]; then
- dd if=${rompath} of=${_newrom} bs=1 \
- skip=$(($(stat -c %s ${rompath}) - 0x400000)) \
- count=4194304
- else
- cp ${rompath} ${_newrom}
- fi
+ cp ${rompath} ${_newrom}
for romsize in 4 8 16; do
ifdgbe="descriptors/ich9m/ich9fdgbe_${romsize}m.bin"