diff options
author | B, Ravi <ravibabu@ti.com> | 2016-09-26 15:54:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-08 16:33:34 +0300 |
commit | d40dbfb7405cb74946ba0a6e9058045fdb5bddaf (patch) | |
tree | 4960e47d9ae4b2544bc12734b1e4f1e5a3374149 /tools/env/fw_env.h | |
parent | 279dcd8975e81bc90e349813a7c3b56c3d353a45 (diff) | |
download | u-boot-d40dbfb7405cb74946ba0a6e9058045fdb5bddaf.tar.xz |
env: tool: add command line option to input lockfile path
The default lockname is set to /var/lock. This limits the
usage of this application where OS uses different lockfile
location parameter.
For example, In case of android, the default lock
path location is /data.
Hence by providing the command line option to input lockfile
path will be useful to reuse the tool across multiple
operating system.
usage: ./fw_printenv -l <lockfile path>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Diffstat (limited to 'tools/env/fw_env.h')
-rw-r--r-- | tools/env/fw_env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index 436eca9ddc..05588ab6d5 100644 --- a/tools/env/fw_env.h +++ b/tools/env/fw_env.h @@ -63,6 +63,7 @@ struct env_opts { #endif int aes_flag; /* Is AES encryption used? */ uint8_t aes_key[AES_KEY_LENGTH]; + char *lockname; }; int parse_aes_key(char *key, uint8_t *bin_key); |