| 1 | /* |
| 2 | * Platform data definition for the built-in NAND controller of the |
| 3 | * Ralink RT305X/RT3662/RT3883 SoCs |
| 4 | * |
| 5 | * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License version 2 as published |
| 9 | * by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _RAMIPS_NAND_PLATFORM_H |
| 13 | #define _RAMIPS_NAND_PLATFORM_H |
| 14 | |
| 15 | #define RAMIPS_NAND_DRIVER_NAME "ramips-nand" |
| 16 | |
| 17 | struct ramips_nand_platform_data { |
| 18 | const char *name; |
| 19 | struct mtd_partition *parts; |
| 20 | int nr_parts; |
| 21 | }; |
| 22 | |
| 23 | #endif /* _RAMIPS_NAND_PLATFORM_H */ |
| 24 | |