Fixed usage of unknown vars in nand-sata-install (#1662)
This commit is contained in:
parent
5f50aa0907
commit
9a5e941f3b
@ -68,12 +68,12 @@ fi
|
||||
|
||||
write_uboot_platform()
|
||||
{
|
||||
if [[ $BOOT_USE_MAINLINE_ATF == yes || $BOOT_USE_TPL_SPL_BLOB == yes ]]; then
|
||||
if [[ -f $1/u-boot.itb ]]; then # $BOOT_USE_MAINLINE_ATF == yes || $BOOT_USE_TPL_SPL_BLOB == yes
|
||||
|
||||
dd if=$1/idbloader.img of=$2 seek=64 conv=notrunc status=none >/dev/null 2>&1
|
||||
dd if=$1/u-boot.itb of=$2 seek=16384 conv=notrunc status=none >/dev/null 2>&1
|
||||
|
||||
elif [[ $BOOT_USE_BLOBS == yes ]] ; then
|
||||
elif [[ -f $1/uboot.img ]]; then # $BOOT_USE_BLOBS == yes
|
||||
|
||||
dd if=$1/idbloader.bin of=$2 seek=64 conv=notrunc status=none >/dev/null 2>&1
|
||||
dd if=$1/uboot.img of=$2 seek=16384 conv=notrunc status=none >/dev/null 2>&1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user