mtd: bcm47xxsflash: store info about flash type
[deliverable/linux.git] / drivers / mtd / devices / bcm47xxsflash.h
CommitLineData
a2f74a7d
RM
1#ifndef __BCM47XXSFLASH_H
2#define __BCM47XXSFLASH_H
3
4#include <linux/mtd/mtd.h>
5
41c81536
RM
6struct bcma_drv_cc;
7
1f816bc7
RM
8enum bcm47xxsflash_type {
9 BCM47XXSFLASH_TYPE_ATMEL,
10 BCM47XXSFLASH_TYPE_ST,
11};
12
a2f74a7d 13struct bcm47xxsflash {
41c81536
RM
14 struct bcma_drv_cc *bcma_cc;
15
1f816bc7
RM
16 enum bcm47xxsflash_type type;
17
a2f74a7d
RM
18 u32 window;
19 u32 blocksize;
20 u16 numblocks;
21 u32 size;
22
23 struct mtd_info mtd;
24};
25
26#endif /* BCM47XXSFLASH */
This page took 0.041692 seconds and 5 git commands to generate.