Commit 6bc219b7 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Miquel Raynal

mtdblock: Update old JFFS2 mention in Kconfig

JFFS2 can be mounted without 'mtdblock' since
a really, really long time. Some git-log
archaeology shows that in 2006 it was possible
to use 'root=' to mount a JFFS2 rootfs:

  commit e9482b43
  Author: Joern Engel <joern@wh.fh-wedel.de>
  Date:   Tue May 30 14:25:46 2006 +0200

      [MTD] Allow alternate JFFS2 mount variant for root filesystem.

      With this patch, "root=mtd3" and "root=mtd:foo" work for a JFFS2 rootfs.

However, there are still plenty of tutorials that mention
mtdblock, so users are still taking this route. Update the Kconfig
to reflect this is no longer needed.
Signed-off-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210801234509.18774-6-ezequiel@collabora.com
parent ff44b90b
...@@ -45,10 +45,9 @@ config MTD_BLOCK ...@@ -45,10 +45,9 @@ config MTD_BLOCK
on RAM chips in this manner. This block device is a user of MTD on RAM chips in this manner. This block device is a user of MTD
devices performing that function. devices performing that function.
At the moment, it is also required for the Journalling Flash File Note that mounting a JFFS2 filesystem doesn't require using mtdblock.
System(s) to obtain a handle on the MTD device when it's mounted It's possible to mount a rootfs using the MTD device on the "root="
(although JFFS and JFFS2 don't actually use any of the functionality bootargs as "root=mtd2" or "root=mtd:name_of_device".
of the mtdblock device).
Later, it may be extended to perform read/erase/modify/write cycles Later, it may be extended to perform read/erase/modify/write cycles
on flash chips to emulate a smaller block size. Needless to say, on flash chips to emulate a smaller block size. Needless to say,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment