diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-04-08 19:08:06 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-04-08 19:08:06 +0200 |
commit | 6db39708117d6391a72f3fc3ea7860231b630270 (patch) | |
tree | 1c69fc84c3f615fe60217096c2947744c72e3528 /board/netta | |
parent | 2fc000d756920b340945a74ec1214a34d9e84858 (diff) | |
download | u-boot-imx-6db39708117d6391a72f3fc3ea7860231b630270.zip u-boot-imx-6db39708117d6391a72f3fc3ea7860231b630270.tar.gz u-boot-imx-6db39708117d6391a72f3fc3ea7860231b630270.tar.bz2 |
Fix JFFS2 support for legacy NAND driver.
Some more NAND cleanup and small fixes.
Diffstat (limited to 'board/netta')
-rw-r--r-- | board/netta/netta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/netta/netta.c b/board/netta/netta.c index 9194bfb..4923e3a 100644 --- a/board/netta/netta.c +++ b/board/netta/netta.c @@ -555,9 +555,9 @@ int board_early_init_f(void) return 0; } -#if (CONFIG_COMMANDS & CFG_CMD_NAND) +#if (CONFIG_COMMANDS & CFG_CMD_NAND) && defined(CFG_NAND_LEGACY) -#include <linux/mtd/nand.h> +#include <linux/mtd/nand_legacy.h> extern ulong nand_probe(ulong physadr); extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE]; |