ar71xx: add initial support for 3.2
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files-3.2 / arch / mips / include / asm / mach-ath79 / ar913x_flash.h
1 /*
2 * AR913x parallel flash driver platform data definitions
3 *
4 * Copyright (C) 2008-2012 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@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 __AR913X_FLASH_H
13 #define __AR913X_FLASH_H
14
15 struct mtd_partition;
16
17 struct ar913x_flash_platform_data {
18 unsigned int width;
19 u8 is_shared:1;
20 unsigned int nr_parts;
21 struct mtd_partition *parts;
22 };
23
24 #endif /* __AR913X_FLASH_H */