diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-13 01:40:43 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-13 01:40:43 +0200 |
commit | cc4a0ceeac5462106172d0cc9d9d542233aa3ab2 (patch) | |
tree | 120ee426f780a47892f00a98e30605115f010f37 /drivers/mtd/nand/nand.c | |
parent | 4fb09b81920e5dfdfc4576883186733f0bd6059c (diff) | |
download | u-boot-imx-cc4a0ceeac5462106172d0cc9d9d542233aa3ab2.zip u-boot-imx-cc4a0ceeac5462106172d0cc9d9d542233aa3ab2.tar.gz u-boot-imx-cc4a0ceeac5462106172d0cc9d9d542233aa3ab2.tar.bz2 |
drivers/mtd/nand: Move conditional compilation to Makefile
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd/nand/nand.c')
-rw-r--r-- | drivers/mtd/nand/nand.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nand/nand.c b/drivers/mtd/nand/nand.c index e44470e..ebd2acd 100644 --- a/drivers/mtd/nand/nand.c +++ b/drivers/mtd/nand/nand.c @@ -22,9 +22,6 @@ */ #include <common.h> - -#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY) - #include <nand.h> #ifndef CFG_NAND_BASE_LIST @@ -79,5 +76,3 @@ void nand_init(void) board_nand_select_device(nand_info[nand_curr_device].priv, nand_curr_device); #endif } - -#endif |