uuu: fix incorrect command for trustfence update from uuu
The command trustfence update doesn't require the partition argument. Besides of that, remove extra fi on the cc8m platforms. Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
584b263614
commit
ecad5dba32
|
|
@ -68,9 +68,9 @@ part_update()
|
|||
uuu fb: ucmd setenv fastboot_buffer $initrd_addr
|
||||
uuu fb: download -f "${3}"
|
||||
uuu fb: ucmd setenv dek_size $filesize
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
uuu fb: ucmd trustfence update ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
else
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
uuu fb: ucmd trustfence update ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
fi
|
||||
else
|
||||
if [ "${1}" = "bootloader" ]; then
|
||||
|
|
|
|||
|
|
@ -68,9 +68,9 @@ part_update()
|
|||
uuu fb: ucmd setenv fastboot_buffer $initrd_addr
|
||||
uuu fb: download -f "${3}"
|
||||
uuu fb: ucmd setenv dek_size $filesize
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
uuu fb: ucmd trustfence update ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
else
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
uuu fb: ucmd trustfence update ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
fi
|
||||
else
|
||||
if [ "${1}" = "bootloader" ]; then
|
||||
|
|
|
|||
|
|
@ -64,14 +64,13 @@ part_update()
|
|||
if [ "${TRUSTFENCE}" = "true" ] && [ "${1}" = "bootloader" ]; then
|
||||
uuu fb: download -f "${2}"
|
||||
if [ -n "${DEK_BLOB_KEY}" ]; then
|
||||
uuu fb: ucmd setenv uboot_size $filesize
|
||||
uuu fb: ucmd setenv fastboot_buffer $initrd_addr
|
||||
uuu fb: download -f "${3}"
|
||||
uuu fb: ucmd setenv dek_size $filesize
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
else
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
fi
|
||||
uuu fb: ucmd setenv uboot_size $filesize
|
||||
uuu fb: ucmd setenv fastboot_buffer $initrd_addr
|
||||
uuu fb: download -f "${3}"
|
||||
uuu fb: ucmd setenv dek_size $filesize
|
||||
uuu fb: ucmd trustfence update ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
else
|
||||
uuu fb: ucmd trustfence update ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
fi
|
||||
else
|
||||
if [ "${1}" = "bootloader" ]; then
|
||||
|
|
|
|||
|
|
@ -68,9 +68,9 @@ part_update()
|
|||
uuu fb: ucmd setenv fastboot_buffer $initrd_addr
|
||||
uuu fb: download -f "${3}"
|
||||
uuu fb: ucmd setenv dek_size $filesize
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
uuu fb: ucmd trustfence update ram \${loadaddr} \${uboot_size} \${initrd_addr} \${dek_size}
|
||||
else
|
||||
uuu fb: ucmd trustfence update "${1}" ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
uuu fb: ucmd trustfence update ram \${fastboot_buffer} \${fastboot_bytes}
|
||||
fi
|
||||
else
|
||||
if [ "${1}" = "bootloader" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue