summaryrefslogtreecommitdiff
path: root/board/impa7
diff options
context:
space:
mode:
Diffstat (limited to 'board/impa7')
-rw-r--r--board/impa7/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/impa7/flash.c b/board/impa7/flash.c
index c59ffb865..7db0b3289 100644
--- a/board/impa7/flash.c
+++ b/board/impa7/flash.c
@@ -72,7 +72,7 @@ ulong flash_init(void)
*/
flash_protect(FLAG_PROTECT_SET,
CFG_FLASH_BASE,
- CFG_FLASH_BASE + _armboot_end_data - _armboot_start,
+ CFG_FLASH_BASE + monitor_flash_len - 1,
&flash_info[0]);
flash_protect(FLAG_PROTECT_SET,