X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=env%2Fflash.c;h=3198147c380834e8560347e271ef8122f74ccd92;hb=4e7413a998ba5666aa4ee0b4f49789f52b1281b1;hp=bdba09e306291c4f52f01c4cdd2b54884a956614;hpb=d3716dd64bb8bb4c4ba2d19bac164d24ada72a68;p=oweals%2Fu-boot.git diff --git a/env/flash.c b/env/flash.c index bdba09e306..3198147c38 100644 --- a/env/flash.c +++ b/env/flash.c @@ -12,11 +12,14 @@ #include #include #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) && \