diff options
author | Simon Glass | 2019-08-01 09:46:52 -0600 |
---|---|---|
committer | Tom Rini | 2019-08-11 16:43:41 -0400 |
commit | 7b51b576d6db714e8668a98de67e93651e18123c (patch) | |
tree | 568a39b82f10fabc191cfe6da0fa6e17c251bd08 /common | |
parent | 9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (diff) |
env: Move env_get() to env.h
Move env_get() 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 'common')
-rw-r--r-- | common/bootretry.c | 1 | ||||
-rw-r--r-- | common/cli.c | 1 | ||||
-rw-r--r-- | common/cli_simple.c | 1 | ||||
-rw-r--r-- | common/fdt_support.c | 1 | ||||
-rw-r--r-- | common/image.c | 1 | ||||
-rw-r--r-- | common/spl/spl_ext.c | 1 | ||||
-rw-r--r-- | common/spl/spl_fat.c | 1 | ||||
-rw-r--r-- | common/splash.c | 1 | ||||
-rw-r--r-- | common/splash_source.c | 1 | ||||
-rw-r--r-- | common/usb_hub.c | 1 | ||||
-rw-r--r-- | common/usb_kbd.c | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/common/bootretry.c b/common/bootretry.c index 072055b0105..47aaaa82201 100644 --- a/common/bootretry.c +++ b/common/bootretry.c @@ -7,6 +7,7 @@ #include <common.h> #include <bootretry.h> #include <cli.h> +#include <env.h> #include <errno.h> #include <watchdog.h> diff --git a/common/cli.c b/common/cli.c index f4054fb1fc8..49b910666b9 100644 --- a/common/cli.c +++ b/common/cli.c @@ -12,6 +12,7 @@ #include <cli.h> #include <cli_hush.h> #include <console.h> +#include <env.h> #include <fdtdec.h> #include <malloc.h> diff --git a/common/cli_simple.c b/common/cli_simple.c index 311880ad56a..6c881c133c6 100644 --- a/common/cli_simple.c +++ b/common/cli_simple.c @@ -12,6 +12,7 @@ #include <bootretry.h> #include <cli.h> #include <console.h> +#include <env.h> #include <linux/ctype.h> #define DEBUG_PARSER 0 /* set to 1 to debug */ diff --git a/common/fdt_support.c b/common/fdt_support.c index 86de5b8f05b..baf7924ff61 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <env.h> #include <mapmem.h> #include <stdio_dev.h> #include <linux/ctype.h> diff --git a/common/image.c b/common/image.c index 719229cc439..4a578f3ef08 100644 --- a/common/image.c +++ b/common/image.c @@ -8,6 +8,7 @@ #ifndef USE_HOSTCC #include <common.h> +#include <env.h> #include <watchdog.h> #ifdef CONFIG_SHOW_BOOT_PROGRESS diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index fe052236053..2a6252229ca 100644 --- a/common/spl/spl_ext.c +++ b/common/spl/spl_ext.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ #include <common.h> +#include <env.h> #include <spl.h> #include <asm/u-boot.h> #include <ext4fs.h> diff --git a/common/spl/spl_fat.c b/common/spl/spl_fat.c index 163e540622b..aa371ab52c5 100644 --- a/common/spl/spl_fat.c +++ b/common/spl/spl_fat.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <env.h> #include <spl.h> #include <asm/u-boot.h> #include <fat.h> diff --git a/common/splash.c b/common/splash.c index 79d50577ee1..e15cc847b68 100644 --- a/common/splash.c +++ b/common/splash.c @@ -21,6 +21,7 @@ */ #include <common.h> +#include <env.h> #include <splash.h> #include <lcd.h> diff --git a/common/splash_source.c b/common/splash_source.c index 8f276a34ca5..d37b4b304c2 100644 --- a/common/splash_source.c +++ b/common/splash_source.c @@ -7,6 +7,7 @@ #include <common.h> #include <bmp_layout.h> +#include <env.h> #include <errno.h> #include <fs.h> #include <fdt_support.h> diff --git a/common/usb_hub.c b/common/usb_hub.c index 9069f4b33aa..25c2ac43450 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -24,6 +24,7 @@ #include <common.h> #include <command.h> #include <dm.h> +#include <env.h> #include <errno.h> #include <memalign.h> #include <asm/processor.h> diff --git a/common/usb_kbd.c b/common/usb_kbd.c index cc99c6be072..38737374614 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -9,6 +9,7 @@ #include <common.h> #include <console.h> #include <dm.h> +#include <env.h> #include <errno.h> #include <malloc.h> #include <memalign.h> |