karo: tx28: set CONFIG_ENV_OVERWRITE also for NAND environment
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 11 Feb 2016 12:02:36 +0000 (13:02 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 11 Feb 2016 12:02:36 +0000 (13:02 +0100)
include/configs/tx28.h

index f7877df..5976ef8 100644 (file)
 #define CONFIG_SYS_MAX_NAND_DEVICE     0x1
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_BASE           0x00000000
-#endif /* CONFIG_CMD_NAND */
+#endif /* CONFIG_NAND */
+
+#define CONFIG_ENV_OVERWRITE
 
 #ifdef CONFIG_ENV_IS_IN_NAND
 #define CONFIG_ENV_OFFSET              (CONFIG_U_BOOT_IMG_SIZE + CONFIG_SYS_NAND_U_BOOT_OFFS)
  */
 #ifdef CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         0
-#define CONFIG_ENV_OVERWRITE
 /* Associated with the MMC layout defined in mmcops.c */
 #define CONFIG_ENV_OFFSET              SZ_1K
 #define CONFIG_ENV_SIZE                        (SZ_128K - CONFIG_ENV_OFFSET)