]> git.sur5r.net Git - u-boot/blobdiff - board/BuS/EB+MCF-EV123/cfm_flash.h
cm4008, cm41xx: fix build warnings
[u-boot] / board / BuS / EB+MCF-EV123 / cfm_flash.h
index cc8cdbd1ebf085856dddeb043c4bd27cad4c8984..ed4e7943e721446b5e0769203aa7bcf4f32bcce9 100644 (file)
@@ -33,7 +33,7 @@ extern void cfm_flash_print_info (flash_info_t * info);
 extern int cfm_flash_erase_sector (flash_info_t * info, int sector);
 extern void cfm_flash_init (flash_info_t * info);
 extern int cfm_flash_write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt);
-#ifdef CFG_FLASH_PROTECTION
+#ifdef CONFIG_SYS_FLASH_PROTECTION
 extern int cfm_flash_protect(flash_info_t * info,long sector,int prot);
 #endif