From 40ace028f1e1ccc6fc363027d2ac862f9d5b873c Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@ti.com>
Date: Thu, 10 Oct 2013 10:25:18 -0400
Subject: [PATCH] am335x_evm.h: Make 'am335x_boneblack' use redundant
 environment

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index f746e48548..c2ba7e35d8 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -359,6 +359,9 @@
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV		1
 #define CONFIG_SYS_MMC_ENV_PART		2
+#define CONFIG_ENV_OFFSET		0x0
+#define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 #endif
 
 /* SPI flash. */
-- 
2.39.5