X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=env%2Fnand.c;h=8b0027d30472fe2cef56f13c95d2fcba739436c9;hb=ec0aeacf0b6e919eee7adda34c7ee233a0c9d9a4;hp=9f3dc635cf1f0804d93f5ce0ec8748e00af92340;hpb=5939afc9611e8ba4a86b96e67670b765ee27668e;p=oweals%2Fu-boot.git diff --git a/env/nand.c b/env/nand.c index 9f3dc635cf..8b0027d304 100644 --- a/env/nand.c +++ b/env/nand.c @@ -23,6 +23,7 @@ #include #include #include +#include #if defined(CONFIG_CMD_SAVEENV) && defined(CONFIG_CMD_NAND) && \ !defined(CONFIG_SPL_BUILD) @@ -31,11 +32,6 @@ #error CONFIG_ENV_OFFSET_REDUND must have CONFIG_CMD_SAVEENV & CONFIG_CMD_NAND #endif -#if defined(CONFIG_ENV_SIZE_REDUND) && \ - (CONFIG_ENV_SIZE_REDUND != CONFIG_ENV_SIZE) -#error CONFIG_ENV_SIZE_REDUND should be the same as CONFIG_ENV_SIZE -#endif - #ifndef CONFIG_ENV_RANGE #define CONFIG_ENV_RANGE CONFIG_ENV_SIZE #endif