<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd/spi, branch v2017.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/spi?h=v2017.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/spi?h=v2017.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-12-15T17:33:16Z</updated>
<entry>
<title>Revert "sf: Fix quad bit set for micron devices"</title>
<updated>2016-12-15T17:33:16Z</updated>
<author>
<name>Cyrille Pitchen</name>
<email>cyrille.pitchen@atmel.com</email>
</author>
<published>2016-12-15T16:45:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9bcb0188708594f7f2d86ddff3ec1fc8c1364e0d'/>
<id>urn:sha1:9bcb0188708594f7f2d86ddff3ec1fc8c1364e0d</id>
<content type='text'>
This reverts commit c56ae7519f141523ba1248b22b5b5169b21772fe.

Once the 'Quad Enable' bit is cleared in their Enhanced Volatile
Configuration Register (EVCR), Micron memories expect ALL commands to use
the SPI 4-4-4 protocol. Commands using SPI 1-y-z protocols are no longer
accepted.

Within the reverted commit, the write_evcr() function is implemented using
the spi_flash_write_common(), which is a shortcut for the
[ spi_flash_cmd_write_enable(), spi_flash_cmd_write(),
spi_flash_cmd_wait_ready() ] sequence.

Since the internal state of the Micron memory has been changed when the
spi_flash_cmd_write() function completes, the later call of the
spi_flash_cmd_wait_ready() function fails.

Indeed the SPI controller driver is not aware of the SPI protocol switch.

Further patches will fix the support of Micron QSPI memories.

Signed-off-by: Cyrille Pitchen &lt;cyrille.pitchen@atmel.com&gt;
[Rebase on master, use JEDEC_MFR(info) in place of idcode0]
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: Do not force the DT memory map size to exactly match the device</title>
<updated>2016-12-15T15:57:28Z</updated>
<author>
<name>Phil Edworthy</name>
<email>PHIL.EDWORTHY@renesas.com</email>
</author>
<published>2016-12-09T15:03:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=db9225ba2686d6b7e249d00e1803bd07f71d6070'/>
<id>urn:sha1:db9225ba2686d6b7e249d00e1803bd07f71d6070</id>
<content type='text'>
As long as the memory mapped size specifeid in the DT is the same or
bigger than the device size, it will work. So do not force the sizes
to be identical.

Signed-off-by: Phil Edworthy &lt;phil.edworthy@renesas.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>mtd: spi: don't return -1 when scan succeed</title>
<updated>2016-12-15T15:57:28Z</updated>
<author>
<name>Fabien Parent</name>
<email>fparent@baylibre.com</email>
</author>
<published>2016-12-05T18:09:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=304decdd31d54ae274f785fb086f3f6ae30a8711'/>
<id>urn:sha1:304decdd31d54ae274f785fb086f3f6ae30a8711</id>
<content type='text'>
In spi_flash_scan, 'ret' is initialled to -1, but 'ret' is not always
used to store a return value, in that case, even when the function
succeed, an error (-1) will be returned.
Lets just return 0 if we hit the end of the function.

Signed-off-by: Fabien Parent &lt;fparent@baylibre.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>spl: Add a name to the SPL load-image methods</title>
<updated>2016-12-09T13:40:13Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-11-30T22:30:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ebc4ef61d76fc182773fe225151adc9b913c62eb'/>
<id>urn:sha1:ebc4ef61d76fc182773fe225151adc9b913c62eb</id>
<content type='text'>
It is useful to name each method so that we can print out this name when
using the method. Currently this happens using a separate function. In
preparation for unifying this, add a name to each method.

The name is only available if we have libcommon support (i.e can use
printf()).

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>spi: Add of-platdata support to SPI and SPI flash</title>
<updated>2016-11-26T00:59:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-11-13T21:22:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71634f289de5850503738635cc96753c9b2c5d09'/>
<id>urn:sha1:71634f289de5850503738635cc96753c9b2c5d09</id>
<content type='text'>
Some boards may want to use these subsystems with of-platdata in SPL. Add
support for this by avoiding any device tree access in this case.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sf: Add support for MX66U51235F, MX66L1G45G, MT25QU02G, MT25QL02G</title>
<updated>2016-11-22T06:28:59Z</updated>
<author>
<name>Radu Bacrau</name>
<email>dumitru.bacrau@intel.com</email>
</author>
<published>2016-11-22T00:27:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1f3232d2a10e35f619e48f49d0d8549cf2efcaa8'/>
<id>urn:sha1:1f3232d2a10e35f619e48f49d0d8549cf2efcaa8</id>
<content type='text'>
This commit adds support for the Macronix MX66U51235F,
MX66L1G45G and Micron MT25QU02G, MT25QL02G flash parts.

Signed-off-by: Radu Bacrau &lt;dumitru.bacrau@intel.com&gt;
Cc: Chin Liang See &lt;clsee@altera.com&gt;
Cc: Radu Bacrau &lt;radu.bacrau@gmail.com&gt;
[Update proper commit header and 80-line cut on body]
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>drivers: SPI: sunxi SPL: fix warning</title>
<updated>2016-11-21T09:35:08Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2016-11-20T14:56:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2334c4e705d190fe0f4b385da65ba29231aaed90'/>
<id>urn:sha1:2334c4e705d190fe0f4b385da65ba29231aaed90</id>
<content type='text'>
Somehow an int returning function without a return statement sneaked
in, fix it.
Also fix some whitespace damage on the way.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: Fix s25fs512s id table</title>
<updated>2016-11-19T03:11:54Z</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2016-11-16T17:57:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=94b653b3dfd2091fefb168fbee0f4c5487e7fc35'/>
<id>urn:sha1:94b653b3dfd2091fefb168fbee0f4c5487e7fc35</id>
<content type='text'>
s25fs512s and s25fl512s_256k have common id information
till 5 bytes and 6th byte have different family id
like FS and FL-S as 0x81 and 0x80.

Reported-by: Vignesh R &lt;vigneshr@ti.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: dataflash: Minor cleanups</title>
<updated>2016-11-19T03:11:54Z</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2016-10-30T17:46:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25488ec193fe111ce67f813d8223cd328ee152b2'/>
<id>urn:sha1:25488ec193fe111ce67f813d8223cd328ee152b2</id>
<content type='text'>
- fix single line comments
- remove unneeded spaces
- ascending order of include files
- rename SPI DATAFLASH to dataflash
- rename SPI DataFlash to dataflash
- return NULL replaced with error code

Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: York Sun &lt;york.sun@nxp.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: dataflash: Fix add_dataflash return logic</title>
<updated>2016-11-19T03:11:54Z</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2016-10-30T17:46:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=11b93228a7c537b7a36f1d96b3061f5d74f01320'/>
<id>urn:sha1:11b93228a7c537b7a36f1d96b3061f5d74f01320</id>
<content type='text'>
This patch fixed the add_dataflash return logic,
so-that it can handle both jedec and older chips
same as Linux.

Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: York Sun &lt;york.sun@nxp.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
</feed>
