summaryrefslogtreecommitdiff
path: root/board/icecube
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/icecube
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/icecube')
-rw-r--r--board/icecube/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/icecube/flash.c b/board/icecube/flash.c
index 15e86d3..2d4026a 100644
--- a/board/icecube/flash.c
+++ b/board/icecube/flash.c
@@ -23,7 +23,7 @@
#include <common.h>
-#ifndef CFG_FLASH_CFI_DRIVER
+#ifndef CONFIG_FLASH_CFI_DRIVER
flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */
/* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
@@ -490,4 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
return (res);
}
-#endif /*CFG_FLASH_CFI_DRIVER*/
+#endif /*CONFIG_FLASH_CFI_DRIVER*/