]> git.sur5r.net Git - u-boot/commit
warp7: hab: Set environment variable indicating HAB enable
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 24 Apr 2018 17:46:33 +0000 (18:46 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 26 Apr 2018 06:52:51 +0000 (08:52 +0200)
commita2accd843b8171ff60e5684214a19bba94c655e4
tree26297e0b108d0a9a5b6caf538b8865fbb1135704
parent9c260e862f8f93390f22b0cfc1a3a6b94888d549
warp7: hab: Set environment variable indicating HAB enable

This patch adds an environment variable called "hab_enabled" which gets set
to a boolean status indicating whether HAB is enabled or not.

Subsequent patches can use this environment variable to determine if its
necessary to run a given binary through the hab_auth_img console command.

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>
board/warp7/warp7.c
include/configs/warp7.h