summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 18:46:46 +0300
committerTom Rini <trini@konsulko.com>2019-08-11 23:43:41 +0300
commitc7694dd4837ba12db3bcda872a1047a44566e0e8 (patch)
tree342d485e989590d44bbd921a77bb0e5452c041c0 /common
parentb9ca02c2d554cb46a4579e1382561c529820b494 (diff)
downloadu-boot-c7694dd4837ba12db3bcda872a1047a44566e0e8.tar.xz
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 'common')
-rw-r--r--common/autoboot.c1
-rw-r--r--common/bootm.c1
-rw-r--r--common/bootm_os.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/common/autoboot.c b/common/autoboot.c
index 7a91736a00..b28bd6823d 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -9,6 +9,7 @@
#include <bootretry.h>
#include <cli.h>
#include <console.h>
+#include <env.h>
#include <fdtdec.h>
#include <hash.h>
#include <memalign.h>
diff --git a/common/bootm.c b/common/bootm.c
index 4629cdd82d..02295daf79 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -7,6 +7,7 @@
#ifndef USE_HOSTCC
#include <common.h>
#include <bootstage.h>
+#include <env.h>
#include <errno.h>
#include <fdt_support.h>
#include <lmb.h>
diff --git a/common/bootm_os.c b/common/bootm_os.c
index 855c471c28..6fb7d658da 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <bootm.h>
+#include <env.h>
#include <fdt_support.h>
#include <linux/libfdt.h>
#include <malloc.h>