summaryrefslogtreecommitdiff
path: root/board/socrates/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/socrates/nand.c')
-rw-r--r--board/socrates/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/socrates/nand.c b/board/socrates/nand.c
index 6ec53f872dc..7d76f422224 100644
--- a/board/socrates/nand.c
+++ b/board/socrates/nand.c
@@ -23,7 +23,7 @@
#include <common.h>
-#if defined(CFG_NAND_BASE)
+#if defined(CONFIG_SYS_NAND_BASE)
#include <nand.h>
#include <asm/errno.h>
#include <asm/io.h>