X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=board%2Feltec%2Fmhpc%2Fflash.c;h=e9c8f9862d4e3f3c714dc4afd40e41546d5f5b87;hp=58cfd7047fd19e5bb5e8754df965286c51f0ae56;hb=3b57fe0a70b903f4db66c558bb9828bc58acf06b;hpb=f07771cc288eb86cad8f8a5c1aa593caf2ba26f8 diff --git a/board/eltec/mhpc/flash.c b/board/eltec/mhpc/flash.c index 58cfd7047f..e9c8f9862d 100644 --- a/board/eltec/mhpc/flash.c +++ b/board/eltec/mhpc/flash.c @@ -92,7 +92,7 @@ unsigned long flash_init (void) /* monitor protection ON by default */ (void)flash_protect(FLAG_PROTECT_SET, CFG_FLASH_BASE, - CFG_FLASH_BASE+CFG_MONITOR_LEN-1, + CFG_FLASH_BASE+monitor_flash_len-1, &flash_info[0]); flash_info[0].size = size_b0;