diff options
author | Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> | 2014-06-07 04:22:52 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 17:53:58 -0400 |
commit | 3e01ed00da98a29fe2b71c6d60309d5b09adc0de (patch) | |
tree | c5f3baf0116e22ae4ba0a3ecc26095efc3905c02 /include/configs | |
parent | 99907176a05d3282c66f9925f0a656621c1f9b09 (diff) | |
download | u-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 'include/configs')
-rw-r--r-- | include/configs/davinci_dm6467evm.h | 2 | ||||
-rw-r--r-- | include/configs/k2hk_evm.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/davinci_dm6467evm.h b/include/configs/davinci_dm6467evm.h index 8a3c453..b1b18ad 100644 --- a/include/configs/davinci_dm6467evm.h +++ b/include/configs/davinci_dm6467evm.h @@ -78,6 +78,8 @@ extern unsigned int davinci_arm_clk_get(void); #define CONFIG_SYS_NO_FLASH #ifdef CONFIG_SYS_USE_NAND #define CONFIG_NAND_DAVINCI +#define CONFIG_SYS_NAND_MASK_CLE 0x80000 +#define CONFIG_SYS_NAND_MASK_ALE 0x40000 #define CONFIG_SYS_NAND_CS 2 #undef CONFIG_ENV_IS_IN_FLASH #define CONFIG_ENV_IS_IN_NAND diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h index 6ba7e62..fcfbca9 100644 --- a/include/configs/k2hk_evm.h +++ b/include/configs/k2hk_evm.h @@ -136,6 +136,8 @@ #define CONFIG_SYS_NAND_USE_FLASH_BBT #define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST #define CONFIG_SYS_NAND_PAGE_2K +#define CONFIG_SYS_NAND_MASK_CLE 0x4000 +#define CONFIG_SYS_NAND_MASK_ALE 0x2000 #define CONFIG_SYS_NAND_LARGEPAGE #define CONFIG_SYS_NAND_BASE_LIST { 0x30000000, } |