Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 11da3a7f84f19c26da6f86af878298694ede0804 authored by Linus Torvalds on 10 September 2018, 00:26:43 UTC
Linux 4.19-rc3
Tip revision: 11da3a7
bcm47xxnflash.h
/* SPDX-License-Identifier: GPL-2.0 */
#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/rawnand.h>

struct bcm47xxnflash {
	struct bcma_drv_cc *cc;

	struct nand_chip nand_chip;

	unsigned curr_command;
	int curr_page_addr;
	int curr_column;

	u8 id_data[8];
};

int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);

#endif /* BCM47XXNFLASH */
back to top