summaryrefslogtreecommitdiffstats
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-04-24 18:46:44 +0100
committerStefano Babic <sbabic@denx.de>2018-04-26 08:53:42 +0200
commitc0df0caeb8d6722cc61e3a8f777f8a47e0167fb9 (patch)
tree0349275976a558085acdda857ce0c4404e70a69e /include/configs/warp7.h
parente4514051fca3a89850d7e62c29dff4e1194d225d (diff)
downloadu-boot-c0df0caeb8d6722cc61e3a8f777f8a47e0167fb9.tar.gz
u-boot-c0df0caeb8d6722cc61e3a8f777f8a47e0167fb9.tar.xz
u-boot-c0df0caeb8d6722cc61e3a8f777f8a47e0167fb9.zip
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>
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r--include/configs/warp7.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 0ed95d820c..454bc1cd08 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -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 ...; " \