summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h
blob: 264aec448fc4ce45ccf820bd704ef6f24563cc51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __BCM47XXNFLASH_H
#define __BCM47XXNFLASH_H

#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>

struct bcm47xxnflash {
	struct bcma_drv_cc *cc;

	struct nand_chip nand_chip;
	struct mtd_info mtd;

	unsigned curr_command;
	int curr_page_addr;
	int curr_column;

	u8 id_data[8];
};

#endif /* BCM47XXNFLASH */
OpenPOWER on IntegriCloud