1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __BCM47XXNFLASH_H
3 #define __BCM47XXNFLASH_H
6 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
9 #include <linux/mtd/mtd.h>
10 #include <linux/mtd/rawnand.h>
12 struct bcm47xxnflash {
13 struct bcma_drv_cc *cc;
15 struct nand_chip nand_chip;
17 unsigned curr_command;
24 int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);
26 #endif /* BCM47XXNFLASH */