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) | |
download | u-boot-f3998fdc4d0871727d7be6838bac750c6323c0a8.zip u-boot-f3998fdc4d0871727d7be6838bac750c6323c0a8.tar.gz u-boot-f3998fdc4d0871727d7be6838bac750c6323c0a8.tar.bz2 |
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 d5469ce..f0904cf 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 474ea22..3fb6050 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 91ee3f3..cb04d2a 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 b1090e9..a38e169 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; @@ -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 93d337a..418d6cc 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 bdba09e..231a5fd 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> @@ -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 7db4eec..f5b0a17 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 a5b1873..79201bd 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 d371bd7..dfd4e93 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 b1a7d1a..02531f4 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 @@ -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> |