diff options
author | Tom Rini <trini@konsulko.com> | 2022-08-04 16:53:39 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-04 16:54:01 -0400 |
commit | b8e09898919e23c5d7f1934be7bf9a3a6f0deb0e (patch) | |
tree | ba1c168b729947aec2a487791e5a26ce72da4282 /env/flash.c | |
parent | 62e6418031bed3671e57e63d49273e2739a82589 (diff) | |
parent | 78475d2572615471d3c047e61481a68859d0dd7f (diff) |
Merge branch '2022-08-04-Kconfig-migrations'
- Further migrations to Kconfig and associated dead code removal.
Diffstat (limited to 'env/flash.c')
-rw-r--r-- | env/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/flash.c b/env/flash.c index 9c8abfa016c..1e75f8c004e 100644 --- a/env/flash.c +++ b/env/flash.c @@ -13,7 +13,6 @@ #include <command.h> #include <env.h> #include <env_internal.h> -#include <flash.h> #include <log.h> #include <asm/global_data.h> #include <linux/stddef.h> @@ -26,6 +25,7 @@ DECLARE_GLOBAL_DATA_PTR; #ifndef CONFIG_SPL_BUILD # if defined(CONFIG_CMD_SAVEENV) && defined(CONFIG_CMD_FLASH) +# include <flash.h> # define CMD_SAVEENV # elif defined(CONFIG_ENV_ADDR_REDUND) # error CONFIG_ENV_ADDR_REDUND must have CONFIG_CMD_SAVEENV & CONFIG_CMD_FLASH |