diff options
Diffstat (limited to 'board/mcc200')
-rw-r--r-- | board/mcc200/mcc200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c index 14cf08d..9fa1d3a 100644 --- a/board/mcc200/mcc200.c +++ b/board/mcc200/mcc200.c @@ -270,7 +270,7 @@ int misc_init_r (void) /* Redundant environment protection ON by default */ flash_protect (FLAG_PROTECT_SET, CONFIG_ENV_ADDR_REDUND, - CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SIZE_REDUND - 1, + CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1, &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); } |