mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
be0638d9e4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
27 lines
454 B
C
27 lines
454 B
C
#ifndef __BCM47XXNFLASH_H
|
|
#define __BCM47XXNFLASH_H
|
|
|
|
#ifndef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
#endif
|
|
|
|
#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];
|
|
};
|
|
|
|
int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);
|
|
|
|
#endif /* BCM47XXNFLASH */
|