~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-keystone/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
 * nand driver definitions to re-use davinci nand driver on Keystone2
 
3
 *
 
4
 * (C) Copyright 2012-2014
 
5
 *     Texas Instruments Incorporated, <www.ti.com>
 
6
 * (C) Copyright 2007 Sergey Kubushyn <ksi@koi8.net>
 
7
 *
 
8
 * SPDX-License-Identifier:     GPL-2.0+
 
9
 */
 
10
#ifndef _NAND_DEFS_H_
 
11
#define _NAND_DEFS_H_
 
12
 
 
13
#include <asm/arch/hardware.h>
 
14
#include <linux/mtd/nand.h>
 
15
 
 
16
#define MASK_CLE         0x4000
 
17
#define MASK_ALE         0x2000
 
18
 
 
19
#define NAND_READ_START  0x00
 
20
#define NAND_READ_END    0x30
 
21
#define NAND_STATUS      0x70
 
22
 
 
23
#endif