]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_bdinfo.c
common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
[u-boot] / common / cmd_bdinfo.c
index d97c09e88ee4f9d213014d6b11b130a704efe148..b5ba2a03741e57123b3c41aa70526c9efa7d919c 100644 (file)
@@ -30,7 +30,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if (CONFIG_COMMANDS & CFG_CMD_BDI)
+#if (CONFIG_COMMANDS & CFG_CMD_BDI) || defined(CONFIG_CMD_BDI)
 static void print_num(const char *, ulong);
 
 #ifndef CONFIG_ARM     /* PowerPC and other */