diff options
| author | Bryan O'Donoghue <[email protected]> | 2018-04-24 18:46:33 +0100 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2018-04-26 08:52:51 +0200 |
| commit | a2accd843b8171ff60e5684214a19bba94c655e4 (patch) | |
| tree | 26297e0b108d0a9a5b6caf538b8865fbb1135704 /include | |
| parent | 9c260e862f8f93390f22b0cfc1a3a6b94888d549 (diff) | |
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 <[email protected]>
Tested-by: Breno Lima <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/warp7.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h index 98fedb89246..10db716cff4 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -139,4 +139,7 @@ #define CONFIG_USBNET_DEV_ADDR "de:ad:be:af:00:01" +/* Environment variable name to represent HAB enable state */ +#define HAB_ENABLED_ENVNAME "hab_enabled" + #endif |
