ppx4xx: Fix sdram init on PMC440 boards
[oweals/u-boot.git] / board / netvia / netvia.c
index 3e6c61663f202deb232cb831a32f56cd6f51c0d5..856b7769cd697ceb5222181984258fa0d52b4a0e 100644 (file)
@@ -416,7 +416,7 @@ int board_early_init_f(void)
        return 0;
 }
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
 
 #include <linux/mtd/nand_legacy.h>