2007-10-24 03:14:42 +08:00
|
|
|
/*
|
2008-03-28 02:51:40 +08:00
|
|
|
* include/asm-arm/plat-orion/orion_nand.h
|
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.
|
|
|
|
*/
|
|
|
|
|
2008-03-28 02:51:40 +08:00
|
|
|
#ifndef __ASM_PLAT_ORION_ORION_NAND_H
|
|
|
|
#define __ASM_PLAT_ORION_ORION_NAND_H
|
2007-10-24 03:14:42 +08: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-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
|