summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-11-06 09:32:54 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-10 08:42:29 +0100
commitc03481bfcb29abfebf62e491a60caa0ebfb57a36 (patch)
tree9971af05edc84f71df5f64211c2a94c4e0dd2691 /include/linux
parent3376ed2b01dc8d43d268a5778ddfe58e73622caf (diff)
downloadbarebox-c03481bfcb29abfebf62e491a60caa0ebfb57a36.tar.gz
barebox-c03481bfcb29abfebf62e491a60caa0ebfb57a36.tar.xz
nand command: Print OOB information
NAND mtd devices carry information how the OOB area is used. So far there is no way to visualize it, so print it along with other NAND informations. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/mtd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 00a6a4f9c8..ee37dfd5cb 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -376,4 +376,6 @@ static inline int mtd_is_bitflip_or_eccerr(int err) {
void mtd_set_ecclayout(struct mtd_info *mtd, struct nand_ecclayout *ecclayout);
+void mtd_print_oob_info(struct mtd_info *mtd);
+
#endif /* __MTD_MTD_H__ */