#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
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);