tools/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
[kernel/u-boot.git] / tools / updater / cmd_flash.c
index c0e5772..ef8d544 100644 (file)
@@ -28,7 +28,7 @@
 #include <command.h>
 #include <flash.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_FLASH)
+#if (CONFIG_COMMANDS & CFG_CMD_FLASH) || defined(CONFIG_CMD_FLASH)
 
 extern flash_info_t flash_info[];      /* info for FLASH chips */