X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=board%2Fwepep250%2Fflash.c;h=5c9d346da039cf053601225530af79e887835930;hb=3b57fe0a70b903f4db66c558bb9828bc58acf06b;hp=319dddc4b26ff325567792634b4fa0697d061cca;hpb=f07771cc288eb86cad8f8a5c1aa593caf2ba26f8;p=karo-tx-uboot.git diff --git a/board/wepep250/flash.c b/board/wepep250/flash.c index 319dddc4b2..5c9d346da0 100644 --- a/board/wepep250/flash.c +++ b/board/wepep250/flash.c @@ -135,7 +135,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,