Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 1 | /* |
Lennert Buytenhek | 6f088f1 | 2008-08-09 13:44:58 +0200 | [diff] [blame] | 2 | * arch/arm/plat-orion/include/plat/orion_nand.h |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 3 | * |
| 4 | * This file is licensed under the terms of the GNU General Public |
Lennert Buytenhek | 5d4294c | 2008-03-27 14:51:40 -0400 | [diff] [blame] | 5 | * License version 2. This program is licensed "as is" without any |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 6 | * warranty of any kind, whether express or implied. |
| 7 | */ |
| 8 | |
Lennert Buytenhek | 6f088f1 | 2008-08-09 13:44:58 +0200 | [diff] [blame] | 9 | #ifndef __PLAT_ORION_NAND_H |
| 10 | #define __PLAT_ORION_NAND_H |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 11 | |
| 12 | /* |
| 13 | * Device bus NAND private data |
| 14 | */ |
| 15 | struct orion_nand_data { |
| 16 | struct mtd_partition *parts; |
Ben Dooks | eedfea2 | 2010-04-20 10:26:18 +0100 | [diff] [blame] | 17 | int (*dev_ready)(struct mtd_info *mtd); |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 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 */ |
Saeed Bishara | f4db56f | 2008-05-04 19:25:52 -1100 | [diff] [blame] | 22 | u8 chip_delay; |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 23 | }; |
| 24 | |
Lennert Buytenhek | 92aecfa | 2008-03-27 14:51:39 -0400 | [diff] [blame] | 25 | |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 26 | #endif |