[mtd-www][PATCH] doc: nand: Remove CONFIG_MTD_BLOCK as required config for JFFS2 on NAND

Tudor Ambarus tudor.ambarus at microchip.com
Tue Apr 19 04:33:31 PDT 2022


CONFIG_MTD_BLOCK specifies that mounting a JFFS2 filesystem doesn't
require using mtdblock. Match Kernel's description and update
documentation.

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

diff --git a/doc/nand.xml b/doc/nand.xml
index 281e0e0..70bd4b4 100644
--- a/doc/nand.xml
+++ b/doc/nand.xml
@@ -316,7 +316,6 @@ if one of these settings is missing.</p>
 				
 <p>CONFIG_MTD=y<br />
 CONFIG_MTD_CHAR=y<br />
-CONFIG_MTD_BLOCK=y<br />
 CONFIG_MTD_NAND=y<br />
 CONFIG_MTD_NAND_YOURBOARD=y<br />
 CONFIG_JFFS2_FS=y<br />
@@ -324,6 +323,10 @@ CONFIG_JFFS2_FS_DEBUG=0<br />
 CONFIG_JFFS2_FS_NAND=y</p>
 </div>
 
+<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>
+
 <hr size="2" />
 		
 <h2>FAQ</h2>
-- 
2.25.1




More information about the linux-mtd mailing list