diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-07 00:38:51 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | 8ae3fbf81b9cfdd1fec0451181213742b73fdf1a (patch) | |
tree | 6e7ae4e1bb214e0ce115023e5a30771062572f63 /drivers/mtd/nand/raw/internals.h | |
parent | mtd: rawnand: Move ONFI code to nand_onfi.c (diff) | |
download | linux-8ae3fbf81b9cfdd1fec0451181213742b73fdf1a.tar.xz linux-8ae3fbf81b9cfdd1fec0451181213742b73fdf1a.zip |
mtd: rawnand: Move JEDEC code to nand_jedec.c
This moves JEDEC related code to nand_jedec.c and JEDEC related
struct/macros to include/linux/mtd/jedec.h.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/internals.h')
-rw-r--r-- | drivers/mtd/nand/raw/internals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/internals.h b/drivers/mtd/nand/raw/internals.h index 1ce720a8d756..88b5da620e7d 100644 --- a/drivers/mtd/nand/raw/internals.h +++ b/drivers/mtd/nand/raw/internals.h @@ -108,4 +108,7 @@ int nand_legacy_check_hooks(struct nand_chip *chip); u16 onfi_crc16(u16 crc, u8 const *p, size_t len); int nand_onfi_detect(struct nand_chip *chip); +/* JEDEC functions */ +int nand_jedec_detect(struct nand_chip *chip); + #endif /* __LINUX_RAWNAND_INTERNALS */ |