Patchwork [U-Boot] am335x_evm.h: Make 'am335x_boneblack' use redundant environment

login
register
mail settings
Submitter Tom Rini
Date Oct. 10, 2013, 2:25 p.m.
Message ID <1381415118-21231-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/282272/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - Oct. 10, 2013, 2:25 p.m.
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |    3 +++
 1 file changed, 3 insertions(+)
Tom Rini - Oct. 14, 2013, 8:28 p.m.
On Thu, Oct 10, 2013 at 10:25:18AM -0400, Tom Rini wrote:

> Signed-off-by: Tom Rini <trini@ti.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index f746e48..c2ba7e3 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. */