mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:59:33 +07:00
93db446a42
As part of the process of sharing more code between different NAND based devices, we need to move all raw NAND related code to the raw/ subdirectory. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
27 lines
474 B
C
27 lines
474 B
C
/* 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 */
|