X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=env%2Fflash.c;h=3198147c380834e8560347e271ef8122f74ccd92;hb=4e7413a998ba5666aa4ee0b4f49789f52b1281b1;hp=231a5fdf24d0038248759b420ea2747ceabb1593;hpb=88c7a0a8c2ce6b503ff5d5509effb2a9f844993e;p=oweals%2Fu-boot.git diff --git a/env/flash.c b/env/flash.c index 231a5fdf24..3198147c38 100644 --- a/env/flash.c +++ b/env/flash.c @@ -13,10 +13,13 @@ #include #include #include +#include +#include #include #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -28,11 +31,6 @@ DECLARE_GLOBAL_DATA_PTR; # endif #endif -#if defined(CONFIG_ENV_SIZE_REDUND) && \ - (CONFIG_ENV_SIZE_REDUND < CONFIG_ENV_SIZE) -#error CONFIG_ENV_SIZE_REDUND should not be less then CONFIG_ENV_SIZE -#endif - /* TODO(sjg@chromium.org): Figure out all these special cases */ #if (!defined(CONFIG_MICROBLAZE) && !defined(CONFIG_ARCH_ZYNQ) && \ !defined(CONFIG_TARGET_MCCMON6) && !defined(CONFIG_TARGET_X600) && \