imx-boot: remove "sync" call in the ccimx8mn's do_compile() function

This command isn't essential and might not be available on all systems, so
remove it. Use the "oflag=sync" dd parameter instead.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2021-01-04 12:49:19 +01:00
parent 52335e8ed5
commit c124a019a4
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ maintain a custom recipe."
cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin
# Create dummy DEK blob
if [ "${TRUSTFENCE_DEK_PATH}" != "0" ]; then
dd if=/dev/zero of=${BOOT_STAGING}/dek_blob_fit_dummy.bin bs=96 count=1 && sync
dd if=/dev/zero of=${BOOT_STAGING}/dek_blob_fit_dummy.bin bs=96 count=1 oflag=sync
fi
}