]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/include/asm/arch-tnetv107x/nand_defs.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / include / asm / arch-tnetv107x / nand_defs.h
1 /*
2 * TNETV107X: NAND definitions
3 *
4 * SPDX-License-Identifier: GPL-2.0+
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