Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1661812

Re: [PATCH 3/4] mtd: mchp23k256: add partitioning support

From Brian Norris <computersforpeace@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] mtd: mchp23k256: add partitioning support
Date 2017-06-09 01:30 +0200
Message-ID <tQf2i-2fD-3@gated-at.bofh.it> (permalink)
References (2 earlier) <tI93J-4Nh-31@gated-at.bofh.it> <tNDkt-6hn-1@gated-at.bofh.it> <tNFcB-7FC-7@gated-at.bofh.it> <tNGs2-8n-9@gated-at.bofh.it> <tNQKJ-7rJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 02, 2017 at 11:04:06AM +0200, Boris Brezillon wrote:
> BTW, MTD_NO_ERASE is not the only problem we have with UBI or JFFS2.
> Are we guaranteed that an erase operation fills an eraseblock with
> ones? Don't we have mem technologies that are filling them with zeros?
> Note that mtdram is artificially setting the mem-region to 0xff in its
> dummy erase operation, so maybe it's a implicit rule that ->_erase() is
> supposed to fill eraseblocks with 0xff.

I've wondered about the general assumption. But mtdram isn't really a
good example, because it clearly calls itself a "test mtd device". So it
makes sense it would emulate common MTDs (i.e., flash memory).

Brian

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 3/4] mtd: mchp23k256: add partitioning support Brian Norris <computersforpeace@gmail.com> - 2017-06-09 01:30 +0200

csiph-web