X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2FRPXlite%2Fflash.c;h=846794df3f76456f921416958c37bd0ae7dacd41;hb=f2b6f4610627fe3d607620e25082916a01538875;hp=78c1838b792cc896f347009529e7ca2069311aa9;hpb=fe8c2806cdba70479e351299881a395dc2be7785;p=oweals%2Fu-boot.git diff --git a/board/RPXlite/flash.c b/board/RPXlite/flash.c index 78c1838b79..846794df3f 100644 --- a/board/RPXlite/flash.c +++ b/board/RPXlite/flash.c @@ -85,7 +85,7 @@ unsigned long flash_init (void) /* monitor protection ON by default */ flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE, - CFG_MONITOR_BASE+CFG_MONITOR_LEN-1, + CFG_MONITOR_BASE+monitor_flash_len-1, &flash_info[0]); #endif