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