X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Femk%2Fcommon%2Fflash.c;h=04c35bc93f388d3b840735a0b9580715474fef6f;hb=0e8d158664a913392cb01fb11a948d83f72e105e;hp=28fe29d6445bbac983c9a4f5da17904183309c00;hpb=42dfe7a1844cbad7114038aaf03828acb7a84414;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/emk/common/flash.c b/board/emk/common/flash.c index 28fe29d..04c35bc 100644 --- a/board/emk/common/flash.c +++ b/board/emk/common/flash.c @@ -113,12 +113,12 @@ unsigned long flash_init (void) flash_get_info(CFG_MONITOR_BASE)); #endif -#ifdef CFG_ENV_IS_IN_FLASH +#ifdef CONFIG_ENV_IS_IN_FLASH /* ENV protection ON by default */ flash_protect(FLAG_PROTECT_SET, - CFG_ENV_ADDR, - CFG_ENV_ADDR+CFG_ENV_SIZE-1, - flash_get_info(CFG_ENV_ADDR)); + CONFIG_ENV_ADDR, + CONFIG_ENV_ADDR+CONFIG_ENV_SIZE-1, + flash_get_info(CONFIG_ENV_ADDR)); #endif @@ -165,7 +165,7 @@ void flash_print_info (flash_info_t *info) int i; uchar *boottype; uchar *bootletter; - uchar *fmt; + char *fmt; uchar botbootletter[] = "B"; uchar topbootletter[] = "T"; uchar botboottype[] = "bottom boot sector";