summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2022-07-20 18:22:14 +0200
committerMichael Trimarchi <michael@amarulasolutions.com>2022-07-22 13:29:06 +0200
commitc7f7cce5c7a3e3b3735a59061b95d145e7f9eaab (patch)
treed4fe0475c7c6b5c0197584615525461e59560c89 /include/linux
parentbd6adff22f08162be9cec3d2a02f1ef6e670ac16 (diff)
downloadu-boot-c7f7cce5c7a3e3b3735a59061b95d145e7f9eaab.tar.gz
u-boot-c7f7cce5c7a3e3b3735a59061b95d145e7f9eaab.tar.bz2
u-boot-c7f7cce5c7a3e3b3735a59061b95d145e7f9eaab.zip
mtd: nand: Move Macronix specific initialization in nand_macronix.c
Upstream linux commit 3b5206f4be9b65. Move Macronix specific initialization logic into nand_macronix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/rawnand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index bb1a359a9c..aa45558b3d 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -1143,6 +1143,7 @@ extern const struct nand_manufacturer_ops samsung_nand_manuf_ops;
extern const struct nand_manufacturer_ops hynix_nand_manuf_ops;
extern const struct nand_manufacturer_ops micron_nand_manuf_ops;
extern const struct nand_manufacturer_ops amd_nand_manuf_ops;
+extern const struct nand_manufacturer_ops macronix_nand_manuf_ops;
int nand_default_bbt(struct mtd_info *mtd);
int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs);