]>
Commit | Line | Data |
---|---|---|
3712367c CC |
1 | /* |
2 | * TNETV107X: NAND definitions | |
3 | * | |
1a459660 | 4 | * SPDX-License-Identifier: GPL-2.0+ |
3712367c CC |
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 |