<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/devices/mtd_dataflash.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-17T00:32:18Z</updated>
<entry>
<title>mtd_dataflash: fix probing of AT45DB321C chips.</title>
<updated>2009-03-17T00:32:18Z</updated>
<author>
<name>Will Newton</name>
</author>
<published>2009-03-10T19:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a96e5528abe51b9c35e33fcac05e84bca18cefe5'/>
<id>urn:sha1:a96e5528abe51b9c35e33fcac05e84bca18cefe5</id>
<content type='text'>
commit 229cc58ba2b5a83b0b55764c6cb98695c106238a upstream.

Commit 771999b65f79264acde4b855e5d35696eca5e80c ("[MTD] DataFlash: bugfix,
binary page sizes now handled") broke support for probing AT45DB321C flash
chips.  These chips do not support the "page size" status bit, so if we
match the JEDEC id return early.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Will Newton &lt;will.newton@gmail.com&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[MTD] make dataflash write-verify be optional</title>
<updated>2008-08-07T10:49:00Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2008-08-07T04:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c64038e4c077b2b37c6b27d0c40c77a3ddfaeef'/>
<id>urn:sha1:8c64038e4c077b2b37c6b27d0c40c77a3ddfaeef</id>
<content type='text'>
This adds a WRITE_VERIFY Kconfig option to the DataFlash driver,
closely mirroring the similar NAND and ONENAND options, giving
an option to disable some code that's currently always enabled.

Removing this step probably saves a millisecond or so per page
when writing data, which will add up quickly since these pages
are small (the largest is 1 KiB).  It doesn't seem to add a
lot in terms of reliability, and wouldn't detect errors which
crop up when transferring data to the on-chip SRAM buffer.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Acked-by: Haavard Skinnemoen &lt;haavard.skinnemoen@atmel.com&gt;
Acked-by: Andrew Victor &lt;linux@maxim.org.za&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] Compile fix for dataflash OTP support</title>
<updated>2008-08-07T10:23:38Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2008-08-06T20:12:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf93ae02600e2c752bf2570085e7970a1c0f2b94'/>
<id>urn:sha1:cf93ae02600e2c752bf2570085e7970a1c0f2b94</id>
<content type='text'>
&gt; &gt; linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c: In function 'add_dataflash_otp':
&gt; &gt; linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c:670: error: too many arguments to function 'otp_setup'

Whoops, sorry ... I see what was going on.  My bad.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] dataflash OTP support</title>
<updated>2008-08-01T20:47:47Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2008-07-30T19:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34a82443b79dcda4304b229d555586296da40c16'/>
<id>urn:sha1:34a82443b79dcda4304b229d555586296da40c16</id>
<content type='text'>
Now that we can tell when we have one of the newer DataFlash chips,
optionally expose the 128 bytes of OTP memory they provide.  Tested
on at45db642 revision B and D chips.

Switch mtdchar over to a generic HAVE_MTD_OTP flag instead of adding
another #ifdef for each type of chip whose driver has OTP support.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Bryan Wu &lt;cooloney@kernel.org&gt;
Cc: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] DataFlash: bugfix, binary page sizes now handled</title>
<updated>2008-07-30T13:20:32Z</updated>
<author>
<name>akpm@linux-foundation.org</name>
</author>
<published>2008-07-30T05:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=771999b65f79264acde4b855e5d35696eca5e80c'/>
<id>urn:sha1:771999b65f79264acde4b855e5d35696eca5e80c</id>
<content type='text'>
The wrong version of the "teach dataflash about binary density" patch
just got merged (v2 not v3) ... this restores the missing updates:

  * Fix the cmdlinepart *regression* that caused testing failures (!!)
    by restoring the original part labels in relevant cases.

  * Don't reference things that don't exist (!)
	- An opcode that doesn't even exist for DataFlash
	- The part is "at45db642" not "at45db641"
	- ID zero in this JEDEC table

  * Make the JEDEC probe routine report and handle errors better:
	- If the SPI calls fail, return the error codes.
	- Don't depend on ordering of table entries.
	- Unrecognized ids are different from parts that have no ID.
          We won't actually know how to handle them correctly; display
	  the ID and ignore the chip.

  * Move the original block comment about the "legacy" chip ID scheme
    back next to the code to which it applies ... not next to the new
    JEDEC query code, which uses an entirely different strategy.

  * Don't print a guessed erasesize; /proc/mtd has the real value.

And add a few more comments.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Bryan Wu &lt;cooloney@kernel.org&gt;
Cc: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] DataFlash: use proper types</title>
<updated>2008-06-04T16:43:22Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2008-06-04T16:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=271c5c59e00302494ffc299741e7fa2d63103e76'/>
<id>urn:sha1:271c5c59e00302494ffc299741e7fa2d63103e76</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] DataFlash: fix bug - ATMEL AT45DF321D spi flash card fails to be copied to (v2)</title>
<updated>2008-06-04T16:39:38Z</updated>
<author>
<name>Michael Hennerich</name>
</author>
<published>2008-06-03T04:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9d42227bdc96238676bd28feca5815fcff2d6a8'/>
<id>urn:sha1:e9d42227bdc96238676bd28feca5815fcff2d6a8</id>
<content type='text'>
 - Add support for binary page size DataFlashes.
 - The driver now prints out pagesize and erasesize.
   Printout valuable information for creating flash filesystems.

Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] mtd_dataflash: Incorrect compare-after-write check</title>
<updated>2007-11-28T11:55:32Z</updated>
<author>
<name>Andrew Victor</name>
</author>
<published>2007-11-19T13:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cccb45d4b34728d33638085435f8fdc0a83e0c00'/>
<id>urn:sha1:cccb45d4b34728d33638085435f8fdc0a83e0c00</id>
<content type='text'>
After writing to a Dataflash page, the built-in compare operation is
used to check that the page was successfully written.  A logic bug in
checking the results of the comparison currently causes the compare to
never fail.

This bug was originally in the legacy at91_dataflash.c driver.

Signed-off-by: Andrew Victor &lt;andrew@sanpeople.com&gt;
Acked-by: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] Use mutex instead of semaphore in dataflash driver</title>
<updated>2007-06-28T21:58:42Z</updated>
<author>
<name>Matthias Kaehlcke</name>
</author>
<published>2007-06-28T21:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec9ce52ef8f8496c83bc36a9b19f22e83575f890'/>
<id>urn:sha1:ec9ce52ef8f8496c83bc36a9b19f22e83575f890</id>
<content type='text'>
The MTD DataFlash driver uses a semaphore as mutex.  Use the mutex API instead
of the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke &lt;matthias.kaehlcke@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6</title>
<updated>2007-01-17T23:34:51Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2007-01-17T23:34:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cdf083f981b8d37b3212400a359368661385099'/>
<id>urn:sha1:9cdf083f981b8d37b3212400a359368661385099</id>
<content type='text'>
</content>
</entry>
</feed>
