Cyril Chemparathy | 692a7af | 2010-06-07 14:13:32 -0400 | [diff] [blame] | 1 | /* |
| 2 | * TNETV107X: NAND definitions |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Cyril Chemparathy | 692a7af | 2010-06-07 14:13:32 -0400 | [diff] [blame] | 5 | */ |
| 6 | #ifndef _NAND_DEFS_H_ |
| 7 | #define _NAND_DEFS_H_ |
| 8 | |
| 9 | #include <asm/arch/hardware.h> |
| 10 | #include <asm/arch/emif_defs.h> |
| 11 | |
| 12 | #define DAVINCI_ASYNC_EMIF_CNTRL_BASE TNETV107X_ASYNC_EMIF_CNTRL_BASE |
| 13 | |
| 14 | #define MASK_CLE 0x4000 |
| 15 | #define MASK_ALE 0x2000 |
| 16 | |
| 17 | #define NAND_READ_START 0x00 |
| 18 | #define NAND_READ_END 0x30 |
| 19 | #define NAND_STATUS 0x70 |
| 20 | |
| 21 | extern void davinci_nand_init(struct nand_chip *nand); |
| 22 | |
| 23 | #endif |