summaryrefslogtreecommitdiff
path: root/cmd/setexpr.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:46 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commitc7694dd4837ba12db3bcda872a1047a44566e0e8 (patch)
tree342d485e989590d44bbd921a77bb0e5452c041c0 /cmd/setexpr.c
parentb9ca02c2d554cb46a4579e1382561c529820b494 (diff)
downloadu-boot-c7694dd4837ba12db3bcda872a1047a44566e0e8.tar.gz
u-boot-c7694dd4837ba12db3bcda872a1047a44566e0e8.tar.bz2
u-boot-c7694dd4837ba12db3bcda872a1047a44566e0e8.zip
env: Move env_set_hex() to env.h
Move env_set_hex() over to the new header file along with env_set_addr() which uses it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd/setexpr.c')
-rw-r--r--cmd/setexpr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/setexpr.c b/cmd/setexpr.c
index 1a6cecdeda..0182f19938 100644
--- a/cmd/setexpr.c
+++ b/cmd/setexpr.c
@@ -11,6 +11,7 @@
#include <common.h>
#include <config.h>
#include <command.h>
+#include <env.h>
#include <mapmem.h>
static ulong get_arg(char *s, int w)