<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd, branch v2016.05-rc3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd?h=v2016.05-rc3</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd?h=v2016.05-rc3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-04-25T19:10:30Z</updated>
<entry>
<title>sf: fix timebase data type in _wait_ready()</title>
<updated>2016-04-25T19:10:30Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2016-04-04T17:03:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=11b9a4d8d96674a57ff61ce622b0900ebee1392d'/>
<id>urn:sha1:11b9a4d8d96674a57ff61ce622b0900ebee1392d</id>
<content type='text'>
get_timer() returns an unsigned 64-bit value, but is currently assigned to
a signed 32-bit variable. Due to sign extension and data truncation, this
causes the timeout loop in spi_flash_cmd_wait_ready() to immediately (and
incorrectly) fire for about 50% of all time values, based on whether bit
31 is set. In sandbox at least, this causes the test to pass or fail based
on system uptime, as opposed to time since the U-Boot binary was started.

Fixes: 4efad20a1751 ("sf: Update status reg check in spi_flash_cmd_wait_ready")
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>mtd, ubi: set free_count to zero before walking through erase list</title>
<updated>2016-04-22T09:47:37Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2016-02-02T10:54:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=68fc449033732e7eb2aa022f9ef1b292f6871b8c'/>
<id>urn:sha1:68fc449033732e7eb2aa022f9ef1b292f6871b8c</id>
<content type='text'>
Set free_count to zero before walking through ai-&gt;erase list
in wl_init().

As U-Boot has no workqueue/threads, it immediately calls
erase_worker(), which increase for each erased block
free_count. Without this patch, free_count gets after
this initialized to zero in wl_init(), so the free_count
variable always has the maybe wrong value 0.

Detected this behaviour on the dxr2 board, where the
UBI fastmap gets not written when attaching/dettaching
on an empty NAND. It drops instead the error message:

could not find any anchor PEB

With this patch, fastmap gets written on dettach.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd: cfi: Unlock current sector instead of sector 0 before buffered write</title>
<updated>2016-04-13T11:43:37Z</updated>
<author>
<name>Rouven Behr</name>
<email>u-boot@behr-iss.de</email>
</author>
<published>2016-04-10T11:38:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7570a0cc7524ed5818b92a35f00a3fd10b33bc65'/>
<id>urn:sha1:7570a0cc7524ed5818b92a35f00a3fd10b33bc65</id>
<content type='text'>
Unlock current sector instead of sector 0 before buffered write.

[Patch subject and commit text slightly reworded, Stefan]

Signed-off-by: Rouven Behr &lt;u-boot@behr-iss.de&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>stm32: stm32_flash: add memory barrier during flash write</title>
<updated>2016-04-12T00:48:23Z</updated>
<author>
<name>Vikas Manocha</name>
<email>vikas.manocha@st.com</email>
</author>
<published>2016-04-04T23:49:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9082517a85930740f59966fcf13293c38792afe8'/>
<id>urn:sha1:9082517a85930740f59966fcf13293c38792afe8</id>
<content type='text'>
After writing data to flash space, next instruction is checking if flash
controller is busy writing to the flash memory. Memory barrier is required here
to avoid transaction re-ordering for data write and busy status check.

Signed-off-by: Vikas Manocha &lt;vikas.manocha@st.com&gt;
</content>
</entry>
<entry>
<title>drivers: remove writes{b,w,l,q} and reads{b,w,l,q}.</title>
<updated>2016-04-10T15:18:41Z</updated>
<author>
<name>Purna Chandra Mandal</name>
<email>purna.mandal@microchip.com</email>
</author>
<published>2016-03-21T07:35:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d9481047efcf2928ad9ff5bd883345b70cd0ca6'/>
<id>urn:sha1:6d9481047efcf2928ad9ff5bd883345b70cd0ca6</id>
<content type='text'>
Definition of writes{bwlq}, reads{bwlq} are now added into arch specific
asm/io.h. So removing them from driver to fix re-definition error

Signed-off-by: Purna Chandra Mandal &lt;purna.mandal@microchip.com&gt;
</content>
</entry>
<entry>
<title>kirkwood_nand: claim MPP pins on the fly</title>
<updated>2016-04-06T13:40:33Z</updated>
<author>
<name>Chris Packham</name>
<email>judge.packham@gmail.com</email>
</author>
<published>2016-02-01T23:35:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=46a16bd895144617575c788d9c2554aeef76ac44'/>
<id>urn:sha1:46a16bd895144617575c788d9c2554aeef76ac44</id>
<content type='text'>
Claim the MPP pins for the NAND flash controller only when it's actually
being used. This allows the pins to be shared with the SPI interface
which already supports an equivalent on-access MPP reconfiguration.

Reviewed-by: Mark Tomlinson &lt;mark.tomlinson@alliedtelesis.co.nz&gt;
Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Acked-by: Scott Wood &lt;oss@buserror.net&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>mtd: nand: denali: max_banks calculation changed in revision 5.1</title>
<updated>2016-03-31T15:16:55Z</updated>
<author>
<name>Graham Moore</name>
<email>grmoore@opensource.altera.com</email>
</author>
<published>2016-03-24T13:14:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=15305c2f0334c52d1afaed7cf7dcaa6944019f68'/>
<id>urn:sha1:15305c2f0334c52d1afaed7cf7dcaa6944019f68</id>
<content type='text'>
Read Denali hardware revision number and use it to
calculate max_banks,  The encoding of max_banks changed
in Denali revision 5.1.

[ Linux commit : 271707b1d817f5104e02b2bd1bab43f0c8759418 ]

Signed-off-by: Graham Moore &lt;grmoore@opensource.altera.com&gt;
[Brian: parentheses around macro arg]
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
[Masahiro: import from Linux and adjust ioread32() to readl() ]
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>cfi_flash: return device into read array mode after reading status</title>
<updated>2016-03-27T13:13:02Z</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2016-03-21T01:37:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=edc498c651d97e4b2cbd9a83a93a7f815a93e272'/>
<id>urn:sha1:edc498c651d97e4b2cbd9a83a93a7f815a93e272</id>
<content type='text'>
Otherwise flash remains in read status mode and it's not possible
to access data on flash.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>stm32: stm32f4: move flash driver to mtd driver location</title>
<updated>2016-03-26T22:49:28Z</updated>
<author>
<name>Vikas Manocha</name>
<email>vikas.manocha@st.com</email>
</author>
<published>2016-03-09T23:18:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9ecb0c416c68d3105bc9b6607bc8601cab2ecf35'/>
<id>urn:sha1:9ecb0c416c68d3105bc9b6607bc8601cab2ecf35</id>
<content type='text'>
Same flash driver can be used by other stm32 families like stm32f7.
Better place for this driver would be mtd driver location.

Signed-off-by: Vikas Manocha &lt;vikas.manocha@st.com&gt;
</content>
</entry>
<entry>
<title>mtd: denali: fix warning when compiled for 64bit system</title>
<updated>2016-03-23T16:36:49Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-02-29T11:57:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=73b5b27b7a8a01cf0527ecba5419ef5a44caf27d'/>
<id>urn:sha1:73b5b27b7a8a01cf0527ecba5419ef5a44caf27d</id>
<content type='text'>
The 64-bit compiler (ex. aarch64) emits "warning: cast from pointer
to integer of different size".

Make it work with 64bit DMA address while I am here.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
