Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 1 | /* |
Lennert Buytenhek | 5d4294c | 2008-03-27 14:51:40 -0400 | [diff] [blame^] | 2 | * include/asm-arm/plat-orion/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 | 5d4294c | 2008-03-27 14:51:40 -0400 | [diff] [blame^] | 9 | #ifndef __ASM_PLAT_ORION_ORION_NAND_H |
| 10 | #define __ASM_PLAT_ORION_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; |
| 17 | u32 nr_parts; |
| 18 | u8 ale; /* address line number connected to ALE */ |
| 19 | u8 cle; /* address line number connected to CLE */ |
| 20 | u8 width; /* buswidth */ |
| 21 | }; |
| 22 | |
Lennert Buytenhek | 92aecfa | 2008-03-27 14:51:39 -0400 | [diff] [blame] | 23 | |
Tzachi Perelstein | ca26f7d | 2007-10-23 15:14:42 -0400 | [diff] [blame] | 24 | #endif |