From c03481bfcb29abfebf62e491a60caa0ebfb57a36 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 6 Nov 2020 09:32:54 +0100 Subject: 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 --- include/linux/mtd/mtd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') 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__ */ -- cgit v1.2.3