<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/flash, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2013-08-28T14:49:36Z</updated>
<entry>
<title>Fix a few typos for s25fl types.</title>
<updated>2013-08-28T14:49:36Z</updated>
<author>
<name>Luiz Otavio O Souza</name>
<email>loos@FreeBSD.org</email>
</author>
<published>2013-08-28T14:49:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6905524b4e156f541d687e2c91830af3c09f720'/>
<id>urn:sha1:c6905524b4e156f541d687e2c91830af3c09f720</id>
<content type='text'>
Approved by:	adrian (mentor)
</content>
</entry>
<entry>
<title>Add support for two new winbond SPI flash parts.</title>
<updated>2013-06-08T20:12:14Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2013-06-08T20:12:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70234acbb1d5ff469faf9f7af65e4f4b8646da62'/>
<id>urn:sha1:70234acbb1d5ff469faf9f7af65e4f4b8646da62</id>
<content type='text'>
The 8devices carambola 2 board uses the 16MB part.

Here's how it looks:

spibus0: &lt;spibus bus&gt; on spi0
mx25l0: &lt;M25Pxx Flash Family&gt; at cs 0 on spibus0
mx25l0: w25q128, sector 65536 bytes, 256 sectors

Tested:

* 8devices Carambola 2 board
</content>
</entry>
<entry>
<title>Remove duplicate const specifiers in many drivers (I hope I got all of</title>
<updated>2012-11-05T19:16:27Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2012-11-05T19:16:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=29658c96ce9914fdf4ff4e3519fbec696ef32118'/>
<id>urn:sha1:29658c96ce9914fdf4ff4e3519fbec696ef32118</id>
<content type='text'>
them, please let me know if not).  Most of these are of the form:

static const struct bzzt_type {
	[...list of members...]
} const bzzt_devs[] = {
	[...list of initializers...]
};

The second const is unnecessary, as arrays cannot be modified anyway,
and if the elements are const, the whole thing is const automatically
(e.g. it is placed in .rodata).

I have verified this does not change the binary output of a full kernel
build (except for build timestamps embedded in the object files).

Reviewed by:	yongari, marius
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add more SPI flash IDs.</title>
<updated>2012-09-25T22:12:07Z</updated>
<author>
<name>Aleksandr Rybalko</name>
<email>ray@FreeBSD.org</email>
</author>
<published>2012-09-25T22:12:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=869785b49c1f6900d4d988f1034da3064084f2b6'/>
<id>urn:sha1:869785b49c1f6900d4d988f1034da3064084f2b6</id>
<content type='text'>
Submitted by:	Luiz Otavio O Souza.
Submitted by:	ZRouter.org project.
Approved by:	adrian (menthor)
</content>
</entry>
<entry>
<title>Add a new flash part - 4MB SPI flash from Winbond.</title>
<updated>2012-08-28T22:17:22Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-08-28T22:17:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a1e4fa08b39ba801ff757246411e63fc55d6dce'/>
<id>urn:sha1:8a1e4fa08b39ba801ff757246411e63fc55d6dce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert r236529, re-enabling verification of the flashed content as</title>
<updated>2012-06-18T20:19:07Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-06-18T20:19:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d80b202dd2c9e7c5f17e68f61f54b2df60c09791'/>
<id>urn:sha1:d80b202dd2c9e7c5f17e68f61f54b2df60c09791</id>
<content type='text'>
the underlying problem was dealt with in r237239 (in fact, disabling
verification also actually only made the problem less likely to occur).
</content>
</entry>
<entry>
<title>Disable verification of the flashed content for now; for reasons unknown</title>
<updated>2012-06-03T21:03:16Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-06-03T21:03:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c87055c0c4efad7a61360befac2150549e9f528'/>
<id>urn:sha1:4c87055c0c4efad7a61360befac2150549e9f528</id>
<content type='text'>
it sometimes causes physwr to hang.
</content>
</entry>
<entry>
<title>- Loop up to 3 seconds when waiting for a device to get ready. [1]</title>
<updated>2012-06-03T01:00:55Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-06-03T01:00:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f2107d400373c2753a1a1adf3a23e1554ac5f5b'/>
<id>urn:sha1:7f2107d400373c2753a1a1adf3a23e1554ac5f5b</id>
<content type='text'>
- Make the device description match the driver name.
- Identify the chip variant based on the JEDEC and use that information
  to use the proper values for page count, offset and size instead of
  hardcoding a AT45DB642x with 2^N byte page support disabled.
- Take advantage of bioq_takefirst().
- Given that CONTINUOUS_ARRAY_READ_HF (0x0b) command isn't even mentioned
  in Atmel's DataFlash Application Note, as suggested by the previous
  comment may not work on all all devices and actually doesn't properly
  on at least AT45DB321D (JEDEC 0x1f2701), rewrite at45d_task() to use
  CONTINUOUS_ARRAY_READ (0xe8) for reading instead. This rewrite is laid
  out in a way allowing to easily add support for BIO_DELETE later on.
- Add support for reads and writes not starting on a page boundary.
- Verify the flash content after writing.
- Let at45d_task() gracefully handle errors on SPI transfers and the
  device not becoming ready afterwards again. [1]
- Use DEVMETHOD_END. [1]
- Use NULL instead of 0 for pointers. [1]

Additional testing by:	Ian Lepore

Submitted by:	Ian Lepore [1]
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add a couple more SPI flash device IDs found in commercial</title>
<updated>2012-01-04T04:17:03Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2012-01-04T04:17:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=450a186c069a07df6e626701a77249fd8c282a7d'/>
<id>urn:sha1:450a186c069a07df6e626701a77249fd8c282a7d</id>
<content type='text'>
consumer wireless kit.

Submitted by:	Stefan Bethke &lt;stb@lassitu.de&gt;
</content>
</entry>
<entry>
<title>Modify the spi flash driver to allow smaller read IO sizes, but enforce</title>
<updated>2011-02-16T20:07:44Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2011-02-16T20:07:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=917721a49555f247ace4b6ced66a223896b0e84e'/>
<id>urn:sha1:917721a49555f247ace4b6ced66a223896b0e84e</id>
<content type='text'>
the larger, aligned write+erase sizes the driver currently implements.

This preserves write behaviour but makes the flash driver usable for things
like a read-only FFS or a geom_uzip/geom_compress .

Note that since GEOM will now return the sector size as being smaller,
writes of sector size/alignment will now fail with an EIO. Code which
writes to the flash device will have to be (for now) manually taught
about the flash write blocksize.
</content>
</entry>
</feed>
