2007-10-24 02:14:42 +07:00
|
|
|
/*
|
2008-03-28 01:51:40 +07:00
|
|
|
* include/asm-arm/plat-orion/orion_nand.h
|
2007-10-24 02:14:42 +07:00
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
2008-03-28 01:51:40 +07:00
|
|
|
* License version 2. This program is licensed "as is" without any
|
2007-10-24 02:14:42 +07:00
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
2008-03-28 01:51:40 +07:00
|
|
|
#ifndef __ASM_PLAT_ORION_ORION_NAND_H
|
|
|
|
#define __ASM_PLAT_ORION_ORION_NAND_H
|
2007-10-24 02:14:42 +07: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-03-28 01:51:39 +07:00
|
|
|
|
2007-10-24 02:14:42 +07:00
|
|
|
#endif
|