X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fep7312%2Fflash.c;h=1ef06f861f131cad34ff684c026afcfd24ba8a1f;hb=0e8d158664a913392cb01fb11a948d83f72e105e;hp=272a9e5ccea3ce09eb5c47b07ee68079c1e45363;hpb=e86e5a07485bc0f33103004594a28882c028e7af;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/ep7312/flash.c b/board/ep7312/flash.c index 272a9e5..1ef06f8 100644 --- a/board/ep7312/flash.c +++ b/board/ep7312/flash.c @@ -65,8 +65,8 @@ ulong flash_init (void) &flash_info[0]); flash_protect ( FLAG_PROTECT_SET, - CFG_ENV_ADDR, - CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0]); + CONFIG_ENV_ADDR, + CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, &flash_info[0]); return size; }