summaryrefslogtreecommitdiff
path: root/board/prodrive/pdnb3/flash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:42 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:42 +0200
commit00b1883a4cac59d97cd297b1a3a398db85982865 (patch)
tree441d91dc472d200c0428b5370bbcc8a110b78e34 /board/prodrive/pdnb3/flash.c
parent7ba44a5521cdb7fa1c72864025cde1e21a6f6921 (diff)
downloadu-boot-imx-00b1883a4cac59d97cd297b1a3a398db85982865.zip
u-boot-imx-00b1883a4cac59d97cd297b1a3a398db85982865.tar.gz
u-boot-imx-00b1883a4cac59d97cd297b1a3a398db85982865.tar.bz2
drivers/mtd: Move conditional compilation to Makefile
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/prodrive/pdnb3/flash.c')
-rw-r--r--board/prodrive/pdnb3/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/prodrive/pdnb3/flash.c b/board/prodrive/pdnb3/flash.c
index 518ea9c..0786324 100644
--- a/board/prodrive/pdnb3/flash.c
+++ b/board/prodrive/pdnb3/flash.c
@@ -24,7 +24,7 @@
#include <common.h>
#include <asm/arch/ixp425.h>
-#if !defined(CFG_FLASH_CFI_DRIVER)
+#if !defined(CONFIG_FLASH_CFI_DRIVER)
/*
* include common flash code (for esd boards)
@@ -86,4 +86,4 @@ unsigned long flash_init(void)
return size;
}
-#endif /* CFG_FLASH_CFI_DRIVER */
+#endif /* CONFIG_FLASH_CFI_DRIVER */