blob: b298fba9058fdb1e04be6b3df0c927dbeb513028 [file] [log] [blame]
Cyril Chemparathy692a7af2010-06-07 14:13:32 -04001/*
2 * TNETV107X: NAND definitions
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Cyril Chemparathy692a7af2010-06-07 14:13:32 -04005 */
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
21extern void davinci_nand_init(struct nand_chip *nand);
22
23#endif