Skip to content

Commit

Permalink
warp7: add warp7_auth_or_fail
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: Breno Lima <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
  • Loading branch information
0xB0D authored and sbabic committed Apr 26, 2018
1 parent e451405 commit c0df0ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/configs/warp7.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"finduuid=part uuid mmc 0:${rootpart} uuid\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
"root=PARTUUID=${uuid} rootwait rw\0" \
"warp7_auth_or_fail=hab_auth_img_or_fail ${hab_ivt_addr} ${filesize} 0;\0" \
"loadbootscript=" \
"load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
"bootscript=echo Running bootscript from mmc ...; " \
Expand Down

0 comments on commit c0df0ca

Please sign in to comment.