]> www.infradead.org Git - mtd-www.git/commitdiff
Update news and remove the MTD_PARTITIONS bits
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Jun 2011 15:48:26 +0000 (18:48 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Jun 2011 15:48:26 +0000 (18:48 +0300)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
doc/general.xml
index.xml

index 28395f3c87410aa13f2a0b61d26b7148e56cbd5d..ea095565a00233363e2799d46ec7ed092f04d721 100644 (file)
@@ -16,7 +16,6 @@
        <li><a href="general.html#L_mtd_tests">MTD tests</a></li>
        <li><a href="general.html#L_mtdblock">The <code>mtdblock</code> driver</a></li>
        <li><a href="general.html#L_old_docs">Old MTD documentation</a></li>
-       <li><a href="general.html#L_partitions_ban">CONFIG_MTD_PARTITIONS is prohibited</a></li>
 </ol>
 
 
@@ -160,34 +159,5 @@ where the extra RAM requirement was considered too large.</p>
 is available <a href="../tech/mtdnand/index.html">here</a>.</p>
 
 
-
-<h2><a name="L_partitions_ban">CONFIG_MTD_PARTITIONS is prohibited</a></h2>
-
-<p>Currently (as of 18 Apr 2011) the MTD partitions support has a configuration
-option which allows to compile it into the kernel or compile it out. The
-corresponding macro is <code>CONFIG_MTD_PARTITIONS</code>. The MTD partitions
-support binary size is 7KiB in size when it is compiled for ARM. Probably in
-the past this was considered a lot, but nowadays this is not a lot for most
-embedded systems.</p>
-
-<p>The problem with <code>CONFIG_MTD_PARTITIONS</code> is that it introduces
-mess. Indeed, you can find 128 references to this configuration option in the
-MTD subsystem in the Linux kernel version 2.6.39-rc3:</p>
-
-<pre>
-[linux-2.6.39-rc3]$ grep -r CONFIG_MTD_PARTITIONS drivers/mtd/* | wc -l
-128
-</pre>
-
-<p>This is huge amount for a single configuration option. And we (the MTD
-community) have decided to kill this option. We do not accept patches which
-add more of these "<code>#ifdef CONFIG_MTD_PARTITIONS</code>" statements or
-shuffle them. Instead, someone have to make MTD partitions support to be
-integral part of the linux kenrel and thus, just remove the configuration
-option, and amend all the drivers which currently make use of it. In other
-words, if you want your driver/patch to go it, you are forced to do that
-clean-up. Sorry, this is more work for you, but this is the way the
-Linux development works.</p>
-
 <INCLUDE file="../inc/footer.tmpl" />
 </PAGE>
index 2681852cd40039b2e15706889fbe38ca8df38b1e..b338890eef865a57745db1f0d67adcb47bc0d834 100644 (file)
--- a/index.xml
+++ b/index.xml
        <hr size="2" />
        <h2>News</h2>
        <ul>
+       <li> 29 May 2011: <code>CONFIG_MTD_PARTITIONS</code> was removed by
+           Jamie Iles.</li>
        <li>20 May 2011: UBIFS now can fixup free space to work around the
            "dumb flasher" issue, see
            <a href="faq/ubifs.html#L_free_space_fixup">here</a>.</li>
-       <li>18 Apr 2011: <code>CONFIG_MTD_PARTITIONS</code> is prohibited, see
-           <a href="doc/general.html#L_partitions_ban">here</a></li>
        <li>08 Apr 2011: UBIFS does not check data CRC by default starting from linux
            kernel version <code>2.6.39</code>, see <a href="doc/ubifs.html#L_checksumming">here</a></li>
        <li>02 Apr 2011: mtd-utils version <code>1.4.4</code> is out ("<code>flash_eraseall -j"</code>
            <a href="http://lists.infradead.org/pipermail/linux-mtd/2011-March/034505.html">bug</a> fixed)</li>
        <li>28 Mar 2011: Software BCH ECC library merged upstream</li>
        <li>28 Mar 2011: Swap on top of MTD device (<code>mtdswap</code> driver) merged upstream</li>
-       <li>18 Mar 2011: mtd-utils version <code>1.4.3</code> is out</li>
        </ul>
 
        <INCLUDE file="inc/footer.tmpl" />