2 * AR91xx parallel flash driver platform data definitions
4 * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
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.
12 #ifndef __AR91XX_FLASH_H
13 #define __AR91XX_FLASH_H
17 struct ar91xx_flash_platform_data
{
20 #ifdef CONFIG_MTD_PARTITIONS
21 unsigned int nr_parts
;
22 struct mtd_partition
*parts
;
26 #endif /* __AR91XX_FLASH_H */