diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-13 01:07:53 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-13 01:07:53 +0100 |
commit | 5811e53e828504c0cdf6583d6d2dd1e82585b15d (patch) | |
tree | 98db57d7f66aaf0deccc4c5eabcaf121376af154 | |
parent | 3bd82b7679ae9af99caf4da1a81e4fde85f56a42 (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-x | resources/scripts/build/boot/roms_helper | 8 |
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" |