diff mbox series

[mtd-www] doc: nand: Add note about CONFIG_MTD_CHAR

Message ID 20220419124801.74288-1-tudor.ambarus@microchip.com
State Accepted
Delegated to: David Oberhollenzer
Headers show
Series [mtd-www] doc: nand: Add note about CONFIG_MTD_CHAR | expand

Commit Message

Tudor Ambarus April 19, 2022, 12:48 p.m. UTC
mtdchar module was merged in mtdcore a long time ago. Add a comment about
JFFS2 CONFIG_MTD_CHAR requirement.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 doc/nand.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/doc/nand.xml b/doc/nand.xml
index 70bd4b4..ebd1255 100644
--- a/doc/nand.xml
+++ b/doc/nand.xml
@@ -315,7 +315,6 @@  maintainer to include it</p>
 if one of these settings is missing.</p>
 				
 <p>CONFIG_MTD=y<br />
-CONFIG_MTD_CHAR=y<br />
 CONFIG_MTD_NAND=y<br />
 CONFIG_MTD_NAND_YOURBOARD=y<br />
 CONFIG_JFFS2_FS=y<br />
@@ -323,6 +322,9 @@  CONFIG_JFFS2_FS_DEBUG=0<br />
 CONFIG_JFFS2_FS_NAND=y</p>
 </div>
 
+<p>mtdchar module was merged in mtdcore in kernel v3.10. Older kernels should
+set CONFIG_MTD_CHAR=y in order that JFFS2 to work on NAND.</p>
+
 <p>Note that mounting a JFFS2 filesystem doesn't require using mtdblock. It's
 possible to mount a rootfs using the MTD device on the "root=" bootargs as
 "root=mtd2" or "root=mtd:name_of_device".</p>