summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-06-07 04:22:52 +0300
committerTom Rini <trini@ti.com>2014-06-19 17:53:58 -0400
commit3e01ed00da98a29fe2b71c6d60309d5b09adc0de (patch)
treec5f3baf0116e22ae4ba0a3ecc26095efc3905c02 /drivers/mtd
parent99907176a05d3282c66f9925f0a656621c1f9b09 (diff)
downloadu-boot-imx-3e01ed00da98a29fe2b71c6d60309d5b09adc0de.zip
u-boot-imx-3e01ed00da98a29fe2b71c6d60309d5b09adc0de.tar.gz
u-boot-imx-3e01ed00da98a29fe2b71c6d60309d5b09adc0de.tar.bz2
mtd: nand: davinci: add header file for driver definitions
The definitions inside emif_defs.h concern davinci nand driver and should be in it's header. So create header file for davinci nand driver and move definitions from emif_defs.h and nand_defs.h to it. Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> [trini: Fixup more davinci breakage] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/davinci_nand.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index 75b03a7..5d42509 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -32,8 +32,7 @@
#include <common.h>
#include <asm/io.h>
#include <nand.h>
-#include <asm/arch/nand_defs.h>
-#include <asm/arch/emif_defs.h>
+#include <asm/ti-common/davinci_nand.h>
/* Definitions for 4-bit hardware ECC */
#define NAND_TIMEOUT 10240