Commit | Line | Data |
---|---|---|
ca26f7d3 | 1 | /* |
6f088f1d | 2 | * arch/arm/plat-orion/include/plat/orion_nand.h |
ca26f7d3 TP |
3 | * |
4 | * This file is licensed under the terms of the GNU General Public | |
5d4294c5 | 5 | * License version 2. This program is licensed "as is" without any |
ca26f7d3 TP |
6 | * warranty of any kind, whether express or implied. |
7 | */ | |
8 | ||
6f088f1d LB |
9 | #ifndef __PLAT_ORION_NAND_H |
10 | #define __PLAT_ORION_NAND_H | |
ca26f7d3 TP |
11 | |
12 | /* | |
13 | * Device bus NAND private data | |
14 | */ | |
15 | struct orion_nand_data { | |
16 | struct mtd_partition *parts; | |
eedfea25 | 17 | int (*dev_ready)(struct mtd_info *mtd); |
ca26f7d3 TP |
18 | u32 nr_parts; |
19 | u8 ale; /* address line number connected to ALE */ | |
20 | u8 cle; /* address line number connected to CLE */ | |
21 | u8 width; /* buswidth */ | |
f4db56ff | 22 | u8 chip_delay; |
ca26f7d3 TP |
23 | }; |
24 | ||
92aecfa9 | 25 | |
ca26f7d3 | 26 | #endif |