mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-18 13:16:59 +02:00
warp7: add warp7_auth_or_fail
Doing secure boot on the WaRP7 using a common image format and the same variable to represent the base address for each call means we can reduce down the command to a single environment command. This patch adds warp7_auth_or_fail as a wrapper around "hab_auth_img_or_fail ${hab_ivt_addr} ${filesize} 0". Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
parent
e4514051fc
commit
c0df0caeb8
@ -50,6 +50,7 @@
|
|||||||
"finduuid=part uuid mmc 0:${rootpart} uuid\0" \
|
"finduuid=part uuid mmc 0:${rootpart} uuid\0" \
|
||||||
"mmcargs=setenv bootargs console=${console},${baudrate} " \
|
"mmcargs=setenv bootargs console=${console},${baudrate} " \
|
||||||
"root=PARTUUID=${uuid} rootwait rw\0" \
|
"root=PARTUUID=${uuid} rootwait rw\0" \
|
||||||
|
"warp7_auth_or_fail=hab_auth_img_or_fail ${hab_ivt_addr} ${filesize} 0;\0" \
|
||||||
"loadbootscript=" \
|
"loadbootscript=" \
|
||||||
"load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
|
"load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
|
||||||
"bootscript=echo Running bootscript from mmc ...; " \
|
"bootscript=echo Running bootscript from mmc ...; " \
|
||||||
|
Loading…
Reference in New Issue
Block a user