summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2018-03-26 15:36:46 +0100
committerStefano Babic <sbabic@denx.de>2018-04-15 11:44:13 +0200
commit49e6242673615225a434df5bfad60a4720a7d88c (patch)
tree4993d278c00e9c94c6a8603a23e9fcda66ea6ef1 /include
parentf4d8fccd3884ea8f76503966b14d0c25129e23eb (diff)
imx: hab: Provide hab_auth_img_or_fail command
This patch adds hab_auth_img_or_fail() a command line function that encapsulates a common usage of authenticate and failover, namely if authenticate image fails, then drop to BootROM USB recovery mode. For secure-boot systems, this type of locked down behavior is important to ensure no unsigned images can be run. It's possible to script this logic but, when done over and over again the environment starts get very complex and repetitive, reducing that script repetition down to a command line function makes sense. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Utkarsh Gupta <utkarsh.gupta@nxp.com> Cc: Breno Lima <breno.lima@nxp.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Breno Lima <breno.lima@nxp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions