diff options
Diffstat (limited to 'drivers/nand/nand_ids.c')
-rw-r--r-- | drivers/nand/nand_ids.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nand/nand_ids.c b/drivers/nand/nand_ids.c index 8b58736bc..5b944a58d 100644 --- a/drivers/nand/nand_ids.c +++ b/drivers/nand/nand_ids.c @@ -13,7 +13,7 @@ #include <common.h> -#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) +#if ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) && !defined(CFG_NAND_LEGACY) #include <linux/mtd/nand.h> |