From 75c1b124d016521d880f9049007bcf8b6f04fa59 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Thu, 20 Mar 2014 16:02:08 +0100 Subject: [PATCH] Don't need that... --- u-boot/common/env_flash.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/u-boot/common/env_flash.c b/u-boot/common/env_flash.c index 2f787af..adabd2e 100644 --- a/u-boot/common/env_flash.c +++ b/u-boot/common/env_flash.c @@ -47,12 +47,6 @@ DECLARE_GLOBAL_DATA_PTR; #error CFG_ENV_SIZE_REDUND should not be less then CFG_ENV_SIZE #endif -#ifdef CONFIG_INFERNO - #ifdef CFG_ENV_ADDR_REDUND - #error CFG_ENV_ADDR_REDUND is not implemented for CONFIG_INFERNO - #endif -#endif - const char *env_name_spec = "FLASH"; #ifdef ENV_IS_EMBEDDED @@ -272,13 +266,7 @@ int saveenv(void){ len = CFG_ENV_SIZE; #endif /* CFG_ENV_SECT_SIZE */ -#ifndef CONFIG_INFERNO end_addr = flash_sect_addr + len - 1; -#else - /* this is the last sector, and the size is hardcoded here */ - /* otherwise we will get stack problems on loading 128 KB environment */ - end_addr = flash_sect_addr + 0x20000 - 1; -#endif //debug("Protect off %08lX ... %08lX\n", (ulong)flash_sect_addr, end_addr); -- 2.25.1