blob: 9f3c180834d141a269f7c4ec84c8021532029c9c [file] [log] [blame]
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -04001/*
Lennert Buytenhek6f088f12008-08-09 13:44:58 +02002 * arch/arm/plat-orion/include/plat/orion_nand.h
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -04003 *
4 * This file is licensed under the terms of the GNU General Public
Lennert Buytenhek5d4294c2008-03-27 14:51:40 -04005 * License version 2. This program is licensed "as is" without any
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -04006 * warranty of any kind, whether express or implied.
7 */
8
Lennert Buytenhek6f088f12008-08-09 13:44:58 +02009#ifndef __PLAT_ORION_NAND_H
10#define __PLAT_ORION_NAND_H
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -040011
12/*
13 * Device bus NAND private data
14 */
15struct orion_nand_data {
16 struct mtd_partition *parts;
Ben Dookseedfea22010-04-20 10:26:18 +010017 int (*dev_ready)(struct mtd_info *mtd);
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -040018 u32 nr_parts;
19 u8 ale; /* address line number connected to ALE */
20 u8 cle; /* address line number connected to CLE */
21 u8 width; /* buswidth */
Saeed Bisharaf4db56f2008-05-04 19:25:52 -110022 u8 chip_delay;
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -040023};
24
Lennert Buytenhek92aecfa2008-03-27 14:51:39 -040025
Tzachi Perelsteinca26f7d2007-10-23 15:14:42 -040026#endif