diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:46:51 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | 9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (patch) | |
tree | c80c104efa35776e942d3772db3514debbd24e61 /tools/env | |
parent | cdbff9fc4002fdd47181088d5abe90e5f2fa1904 (diff) | |
download | u-boot-9fb625ce05539fe6876a59ce1dcadb76b33c6f6e.zip u-boot-9fb625ce05539fe6876a59ce1dcadb76b33c6f6e.tar.gz u-boot-9fb625ce05539fe6876a59ce1dcadb76b33c6f6e.tar.bz2 |
env: Move env_set() to env.h
Move env_set() over to the new header file.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/env')
-rw-r--r-- | tools/env/fw_env.c | 1 | ||||
-rw-r--r-- | tools/env/fw_env.h | 1 | ||||
-rw-r--r-- | tools/env/fw_env_main.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index eef12dd..f06252d 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -10,6 +10,7 @@ #define _GNU_SOURCE #include <compiler.h> +#include <env.h> #include <errno.h> #include <env_flags.h> #include <fcntl.h> diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index b250e2f..3d2b457 100644 --- a/tools/env/fw_env.h +++ b/tools/env/fw_env.h @@ -4,6 +4,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ +#include <env.h> #include <stdint.h> /* diff --git a/tools/env/fw_env_main.c b/tools/env/fw_env_main.c index 26ba662..1d193bd 100644 --- a/tools/env/fw_env_main.c +++ b/tools/env/fw_env_main.c @@ -26,6 +26,7 @@ * of AES key), eg. '-a aabbccddeeff00112233445566778899'. */ +#include <env.h> #include <fcntl.h> #include <getopt.h> #include <stdio.h> |