From 66cef595ffd1a5b1f11474402287d9786909fc5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 11 Feb 2016 13:02:36 +0100 Subject: [PATCH] karo: tx28: set CONFIG_ENV_OVERWRITE also for NAND environment --- include/configs/tx28.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/tx28.h b/include/configs/tx28.h index f7877dfccb..5976ef8558 100644 --- a/include/configs/tx28.h +++ b/include/configs/tx28.h @@ -202,7 +202,9 @@ #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) @@ -237,7 +239,6 @@ */ #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) -- 2.39.2