diff options
author | Leah Rowe <leah@libreboot.org> | 2023-08-28 11:28:41 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-08-28 11:28:41 +0100 |
commit | f5787c9e50cafac43160651d4496c856931bc650 (patch) | |
tree | 827ae81435fdb97ce6845e7a813376981ffde5de /script/build/boot/roms_helper | |
parent | d9292cec6a2a598dca0a4e56b1c97e71856baaba (diff) |
build/boot/roms ich9m ifd: use fast dd command
bs=block size and count=1,
rather than bs=1 and count=block size
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/boot/roms_helper')
-rwxr-xr-x | script/build/boot/roms_helper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/build/boot/roms_helper b/script/build/boot/roms_helper index 15e48066..561af644 100755 --- a/script/build/boot/roms_helper +++ b/script/build/boot/roms_helper @@ -601,7 +601,7 @@ moverom() { [ -f "${ifdgbe}" ] || \ ./build descriptors ich9m || \ err "moverom: cannot create ich9m ifd" - dd if="${ifdgbe}" of="${newrompath}" bs=1 count=12k \ + dd if="${ifdgbe}" of="${newrompath}" bs=12k count=1 \ conv=notrunc || \ err "moverom: cant insert ich9m ifd" fi @@ -611,7 +611,7 @@ moverom() { [ -f "${ifdgbe}" ] || \ ./build descriptors ich9m || \ err "moverom: cannot create ich9m ifd" - dd if="${ifdgbe}" of="${newrompath}" bs=1 count=4k \ + dd if="${ifdgbe}" of="${newrompath}" bs=4k count=1 \ conv=notrunc || \ err "moverom: cant insert ich9m ifd" fi |