~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/include/asm/arch-tnetv107x/nand_defs.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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