Rafał Miłecki | a5401370 | 2012-11-12 13:03:21 +0100 | [diff] [blame] | 1 | #ifndef __BCM47XXNFLASH_H |
2 | #define __BCM47XXNFLASH_H | ||||
3 | |||||
4 | #include <linux/mtd/mtd.h> | ||||
5 | #include <linux/mtd/nand.h> | ||||
6 | |||||
7 | struct bcm47xxnflash { | ||||
8 | struct bcma_drv_cc *cc; | ||||
9 | |||||
10 | struct nand_chip nand_chip; | ||||
11 | struct mtd_info mtd; | ||||
Rafał Miłecki | 0fbc599 | 2012-11-12 13:03:23 +0100 | [diff] [blame^] | 12 | |
13 | unsigned curr_command; | ||||
14 | int curr_column; | ||||
15 | |||||
16 | u8 id_data[8]; | ||||
Rafał Miłecki | a5401370 | 2012-11-12 13:03:21 +0100 | [diff] [blame] | 17 | }; |
18 | |||||
19 | #endif /* BCM47XXNFLASH */ |