summaryrefslogtreecommitdiff
path: root/board/tqm8272/tqm8272.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqm8272/tqm8272.c')
-rw-r--r--board/tqm8272/tqm8272.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqm8272/tqm8272.c b/board/tqm8272/tqm8272.c
index b7fea354d02..653b7a9f4c7 100644
--- a/board/tqm8272/tqm8272.c
+++ b/board/tqm8272/tqm8272.c
@@ -1065,7 +1065,7 @@ int update_flash_size (int flash_size)
}
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
#include <nand.h>
#include <linux/mtd/mtd.h>