summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nand.h b/include/nand.h
index 3296e109e7..b4f316f71a 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -122,7 +122,7 @@ int nand_lock( nand_info_t *meminfo, int tight );
int nand_unlock( nand_info_t *meminfo, ulong start, ulong length );
int nand_get_lock_status(nand_info_t *meminfo, ulong offset);
-#ifdef CFG_NAND_SELECT_DEVICE
+#ifdef CONFIG_SYS_NAND_SELECT_DEVICE
void board_nand_select_device(struct nand_chip *nand, int chip);
#endif