2007-10-24 03:14:42 +08:00
|
|
|
/*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
2008-03-28 02:51:40 +08:00
|
|
|
* License version 2. This program is licensed "as is" without any
|
2007-10-24 03:14:42 +08:00
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
2013-12-30 14:30:21 +08:00
|
|
|
#ifndef __MTD_ORION_NAND_H
|
|
|
|
#define __MTD_ORION_NAND_H
|
2007-10-24 03:14:42 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Device bus NAND private data
|
|
|
|
*/
|
|
|
|
struct orion_nand_data {
|
|
|
|
struct mtd_partition *parts;
|
2010-04-20 17:26:18 +08:00
|
|
|
int (*dev_ready)(struct mtd_info *mtd);
|
2007-10-24 03:14:42 +08:00
|
|
|
u32 nr_parts;
|
|
|
|
u8 ale; /* address line number connected to ALE */
|
|
|
|
u8 cle; /* address line number connected to CLE */
|
|
|
|
u8 width; /* buswidth */
|
2008-05-05 14:25:52 +08:00
|
|
|
u8 chip_delay;
|
2007-10-24 03:14:42 +08:00
|
|
|
};
|
|
|
|
|
2008-03-28 02:51:39 +08:00
|
|
|
|
2007-10-24 03:14:42 +08:00
|
|
|
#endif
|