diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-02 09:44:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 19:27:31 -0400 |
commit | f3998fdc4d0871727d7be6838bac750c6323c0a8 (patch) | |
tree | a70bc57308dd8c516ec78ea057dbfd0ac331214b /env | |
parent | e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad (diff) |
env: Rename environment.h to env_internal.h
This file contains lots of internal details about the environment. Most
code can include env.h instead, calling the functions there as needed.
Rename this file and add a comment at the top to indicate its internal
nature.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
[trini: Fixup apalis-tk1.c]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env')
-rw-r--r-- | env/callback.c | 2 | ||||
-rw-r--r-- | env/common.c | 2 | ||||
-rw-r--r-- | env/eeprom.c | 2 | ||||
-rw-r--r-- | env/embedded.c | 2 | ||||
-rw-r--r-- | env/env.c | 2 | ||||
-rw-r--r-- | env/ext4.c | 2 | ||||
-rw-r--r-- | env/fat.c | 2 | ||||
-rw-r--r-- | env/flags.c | 2 | ||||
-rw-r--r-- | env/flash.c | 2 | ||||
-rw-r--r-- | env/mmc.c | 2 | ||||
-rw-r--r-- | env/nand.c | 2 | ||||
-rw-r--r-- | env/nowhere.c | 2 | ||||
-rw-r--r-- | env/nvram.c | 2 | ||||
-rw-r--r-- | env/onenand.c | 2 | ||||
-rw-r--r-- | env/remote.c | 2 | ||||
-rw-r--r-- | env/sata.c | 2 | ||||
-rw-r--r-- | env/sf.c | 2 | ||||
-rw-r--r-- | env/ubi.c | 2 |
18 files changed, 18 insertions, 18 deletions
diff --git a/env/callback.c b/env/callback.c index d5469ce3c2..f0904cfdc5 100644 --- a/env/callback.c +++ b/env/callback.c @@ -6,7 +6,7 @@ #include <common.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #if defined(CONFIG_NEEDS_MANUAL_RELOC) DECLARE_GLOBAL_DATA_PTR; diff --git a/env/common.c b/env/common.c index 474ea2280b..3fb60509dd 100644 --- a/env/common.c +++ b/env/common.c @@ -10,7 +10,7 @@ #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <search.h> #include <errno.h> diff --git a/env/eeprom.c b/env/eeprom.c index 91ee3f35eb..cb04d2ac88 100644 --- a/env/eeprom.c +++ b/env/eeprom.c @@ -10,7 +10,7 @@ #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #if defined(CONFIG_I2C_ENV_EEPROM_BUS) #include <i2c.h> diff --git a/env/embedded.c b/env/embedded.c index b1090e90e5..a38e169fe0 100644 --- a/env/embedded.c +++ b/env/embedded.c @@ -12,7 +12,7 @@ #define __ASM_STUB_PROCESSOR_H__ /* don't include asm/processor. */ #include <config.h> #undef __ASSEMBLY__ -#include <environment.h> +#include <env_internal.h> #include <linux/stringify.h> /* Handle HOSTS that have prepended crap on symbol names, not TARGETS. */ @@ -6,7 +6,7 @@ #include <common.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/env/ext4.c b/env/ext4.c index 6aa36867b6..1f6b1b5bd8 100644 --- a/env/ext4.c +++ b/env/ext4.c @@ -22,7 +22,7 @@ #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <malloc.h> #include <memalign.h> @@ -10,7 +10,7 @@ #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <malloc.h> #include <memalign.h> diff --git a/env/flags.c b/env/flags.c index 93d337a1aa..418d6cc742 100644 --- a/env/flags.c +++ b/env/flags.c @@ -19,7 +19,7 @@ #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) #else #include <common.h> -#include <environment.h> +#include <env_internal.h> #endif #ifdef CONFIG_CMD_NET diff --git a/env/flash.c b/env/flash.c index bdba09e306..231a5fdf24 100644 --- a/env/flash.c +++ b/env/flash.c @@ -12,7 +12,7 @@ #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <malloc.h> #include <search.h> @@ -9,7 +9,7 @@ #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <fdtdec.h> #include <linux/stddef.h> #include <malloc.h> diff --git a/env/nand.c b/env/nand.c index 3e2235f5f3..9f3dc635cf 100644 --- a/env/nand.c +++ b/env/nand.c @@ -16,7 +16,7 @@ #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <malloc.h> #include <memalign.h> diff --git a/env/nowhere.c b/env/nowhere.c index 7db4eec845..f5b0a17652 100644 --- a/env/nowhere.c +++ b/env/nowhere.c @@ -10,7 +10,7 @@ #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/env/nvram.c b/env/nvram.c index a5b1873aaf..79201bd788 100644 --- a/env/nvram.c +++ b/env/nvram.c @@ -26,7 +26,7 @@ #include <common.h> #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <search.h> #include <errno.h> diff --git a/env/onenand.c b/env/onenand.c index d371bd757c..dfd4e939f8 100644 --- a/env/onenand.c +++ b/env/onenand.c @@ -9,7 +9,7 @@ #include <common.h> #include <command.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <malloc.h> #include <search.h> diff --git a/env/remote.c b/env/remote.c index b1a7d1a4c1..02531f427b 100644 --- a/env/remote.c +++ b/env/remote.c @@ -7,7 +7,7 @@ #include <common.h> #include <command.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #ifdef ENV_IS_EMBEDDED diff --git a/env/sata.c b/env/sata.c index a5364dda5d..9369710081 100644 --- a/env/sata.c +++ b/env/sata.c @@ -9,7 +9,7 @@ #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <linux/stddef.h> #include <errno.h> #include <memalign.h> @@ -11,7 +11,7 @@ #include <common.h> #include <dm.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <malloc.h> #include <spi.h> #include <spi_flash.h> @@ -8,7 +8,7 @@ #include <command.h> #include <env.h> -#include <environment.h> +#include <env_internal.h> #include <errno.h> #include <malloc.h> #include <memalign.h> |