diff options
Diffstat (limited to 'board/cm4008')
-rw-r--r-- | board/cm4008/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm4008/flash.c b/board/cm4008/flash.c index d6fd519..2e1356f 100644 --- a/board/cm4008/flash.c +++ b/board/cm4008/flash.c @@ -72,7 +72,7 @@ unsigned long flash_init (void) */ flash_protect (FLAG_PROTECT_SET, CONFIG_SYS_FLASH_BASE, - CONFIG_SYS_FLASH_BASE + _bss_start - _armboot_start, + CONFIG_SYS_FLASH_BASE + _bss_start_ofs, &flash_info[0]); return size; |