summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2026-04-17 21:51:05 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-04-17 21:51:05 +0200
commitb2a4fe0960aee9a2c8045cfd26fbeacf30b26efe (patch)
tree7fba799dc9d685058c788a00a1becf640569f9c1 /include/linux
parent357e460a3099702a904f8b164a13305c34d4385d (diff)
parent7866ce992cf0d3c3b50fe8bf4acb1dbb173a2304 (diff)
downloadlwn-b2a4fe0960aee9a2c8045cfd26fbeacf30b26efe.tar.gz
lwn-b2a4fe0960aee9a2c8045cfd26fbeacf30b26efe.zip
Merge tag 'nand/for-7.1' into mtd/next
The main changes happened in the SunXi driver in order to support new versions of the Allwinner NAND controller. There are also some DT-binding improvements and cleanups. Finally a couple of actual fixes (Realtek ECC and Winbond SPI NAND), aside with the usual load of misc changes.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/spinand.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h
index 6a024cf1c53a..58abd306ebe3 100644
--- a/include/linux/mtd/spinand.h
+++ b/include/linux/mtd/spinand.h
@@ -477,8 +477,9 @@ struct spinand_ecc_info {
const struct mtd_ooblayout_ops *ooblayout;
};
-#define SPINAND_HAS_QE_BIT BIT(0)
-#define SPINAND_HAS_CR_FEAT_BIT BIT(1)
+/* SPI NAND flags */
+#define SPINAND_HAS_QE_BIT BIT(0)
+#define SPINAND_HAS_CR_FEAT_BIT BIT(1)
#define SPINAND_HAS_PROG_PLANE_SELECT_BIT BIT(2)
#define SPINAND_HAS_READ_PLANE_SELECT_BIT BIT(3)
#define SPINAND_NO_RAW_ACCESS BIT(4)