Skip to content

Commit 1a1e4e7

Browse files
author
Tomasz Żyjewski
committed
distro: dasharo-deploy: small syntax fixes
Signed-off-by: Tomasz Żyjewski <[email protected]>
1 parent e0126c9 commit 1a1e4e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meta-dts-distro/recipes-dts/dts/dasharo-deploy/dasharo-deploy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ romhole_migration() {
210210
return
211211
else
212212
else
213-
dd if=/tmp/rom.bin of=/tmp/romhole.bin skip=$((0x17C0000)) bs=128K count=1 iflag=skip_bytes > /dev/null 2>&1
213+
dd if=/tmp/rom.bin of=/tmp/romhole.bin skip=$((0x17C0000)) bs=128K count=1 iflag=skip_bytes > /dev/null 2>&1
214214
fi
215215

216216
cbfstool "$BIOS_UPDATE_FILE" write -r ROMHOLE -f /tmp/romhole.bin -u 2> /dev/null
@@ -539,7 +539,7 @@ update() {
539539
echo "Updating Dasharo firmware..."
540540
print_warning "This may take several minutes. Please be patient and do not reset your computer, or touch the keyboard!"
541541

542-
# FLASHROM_ADD_OPT_UPDATE_OVERRIDE takes priority over auto-detected udpate params.
542+
# FLASHROM_ADD_OPT_UPDATE_OVERRIDE takes priority over auto-detected update params.
543543
# It set only by platform-specific and firmware version-specific conditions
544544
if [ -v FLASHROM_ADD_OPT_UPDATE_OVERRIDE ]; then
545545
flashrom -p "$PROGRAMMER_BIOS" ${FLASH_CHIP_SELECT} ${FLASHROM_ADD_OPT_UPDATE_OVERRIDE} -w "$BIOS_UPDATE_FILE" >> $FLASHROM_LOG_FILE 2>> $ERR_LOG_FILE
@@ -556,7 +556,7 @@ update() {
556556
fi
557557

558558
# We use FLASHROM_ADD_OPT_REGIONS for updating ME and IFD.
559-
# If FLASHROM_ADD_OPT_REGIONS remains the same after
559+
# If FLASHROM_ADD_OPT_REGIONS remains the same after
560560
# set_intel_regions_update_params or is cleared, it means
561561
# we either cannot update any region, or were not allowed to,
562562
# or platform has no descriptor.

0 commit comments

Comments
 (0)