| 1 | /* |
| 2 | * asm-arm/arch-orion/platform.h |
| 3 | * |
| 4 | * Tzachi Perelstein <tzachi@marvell.com> |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public |
| 7 | * License version 2. This program is licensed "as is" without any |
| 8 | * warranty of any kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_ARCH_PLATFORM_H__ |
| 12 | #define __ASM_ARCH_PLATFORM_H__ |
| 13 | |
| 14 | /* |
| 15 | * Device bus NAND private data |
| 16 | */ |
| 17 | struct orion_nand_data { |
| 18 | struct mtd_partition *parts; |
| 19 | u32 nr_parts; |
| 20 | u8 ale; /* address line number connected to ALE */ |
| 21 | u8 cle; /* address line number connected to CLE */ |
| 22 | u8 width; /* buswidth */ |
| 23 | }; |
| 24 | |
| 25 | #endif |