summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-stamp/nand.c')
-rw-r--r--board/bf537-stamp/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bf537-stamp/nand.c b/board/bf537-stamp/nand.c
index 4d6e7760d52..11da14e20df 100644
--- a/board/bf537-stamp/nand.c
+++ b/board/bf537-stamp/nand.c
@@ -23,7 +23,7 @@
#include <common.h>
#include <asm/io.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
#include <nand.h>