2007-10-23 13:14:42 -06:00
|
|
|
/*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
2008-03-27 12:51:40 -06:00
|
|
|
* License version 2. This program is licensed "as is" without any
|
2007-10-23 13:14:42 -06:00
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
2013-12-29 23:30:21 -07:00
|
|
|
#ifndef __MTD_ORION_NAND_H
|
|
|
|
#define __MTD_ORION_NAND_H
|
2007-10-23 13:14:42 -06:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Device bus NAND private data
|
|
|
|
*/
|
|
|
|
struct orion_nand_data {
|
|
|
|
struct mtd_partition *parts;
|
2010-04-20 03:26:18 -06:00
|
|
|
int (*dev_ready)(struct mtd_info *mtd);
|
2007-10-23 13:14:42 -06: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 00:25:52 -06:00
|
|
|
u8 chip_delay;
|
2007-10-23 13:14:42 -06:00
|
|
|
};
|
|
|
|
|
2008-03-27 12:51:39 -06:00
|
|
|
|
2007-10-23 13:14:42 -06:00
|
|
|
#endif
|