X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fsiemens%2FSMN42%2Fflash.c;h=ae64096f81147a9cd215fbbb9c74daa9916c9c2a;hb=0e8d158664a913392cb01fb11a948d83f72e105e;hp=7d4977e0262cad44321b95174de4305f6194877c;hpb=98c440bee623ecdd5322852732b883e696fb2140;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/siemens/SMN42/flash.c b/board/siemens/SMN42/flash.c old mode 100755 new mode 100644 index 7d4977e..ae64096 --- a/board/siemens/SMN42/flash.c +++ b/board/siemens/SMN42/flash.c @@ -70,8 +70,8 @@ ulong flash_init (void) &flash_info[0]); flash_protect (FLAG_PROTECT_SET, - CFG_ENV_ADDR, - CFG_ENV_ADDR + CFG_ENV_SIZE - 1, + CONFIG_ENV_ADDR, + CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, &flash_info[0]); size += ext_flash_init();