X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fconfigs%2Fmx28evk.h;h=54d01f9ed86a57d819b479565aaa5c33570f8512;hb=ec7023db8dc95966919589541f1ca09355a3f7a5;hp=b22a20b1901a9f1d1ddf0051a6491e868c856da1;hpb=d782c1fe7246301143ed78c0d86ea6c81f9325f9;p=karo-tx-uboot.git diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index b22a20b190..54d01f9ed8 100644 --- a/include/configs/mx28evk.h +++ b/include/configs/mx28evk.h @@ -139,14 +139,14 @@ #define CONFIG_SYS_NAND_5_ADDR_CYCLE /* Environment is in NAND */ +#ifdef CONFIG_ENV_IS_IN_NAND #define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE #define CONFIG_ENV_SECT_SIZE (128 * 1024) #define CONFIG_ENV_RANGE (512 * 1024) -#ifndef CONFIG_ENV_OFFSET #define CONFIG_ENV_OFFSET 0x300000 -#endif #define CONFIG_ENV_OFFSET_REDUND \ (CONFIG_ENV_OFFSET + CONFIG_ENV_RANGE) +#endif #define CONFIG_CMD_UBI #define CONFIG_CMD_UBIFS