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:
Francisco Gil 2024-06-03 09:06:07 +02:00
parent 584b263614
commit ecad5dba32
4 changed files with 13 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -68,10 +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}
fi
uuu fb: ucmd trustfence update ram \${fastboot_buffer} \${fastboot_bytes}
fi
else
if [ "${1}" = "bootloader" ]; then

View File

@ -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