<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd, branch v2018.11-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=v2018.11-rc3</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd?h=v2018.11-rc3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-10-22T13:18:49Z</updated>
<entry>
<title>nand: atmel: Initialize pmecc smu with correct size</title>
<updated>2018-10-22T13:18:49Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2018-10-08T09:27:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ed5df0852f56a3512db283010ad7b6e93cba0612'/>
<id>urn:sha1:ed5df0852f56a3512db283010ad7b6e93cba0612</id>
<content type='text'>
Currently in pmecc_get_sigma(), the code tries to clear the memory
pointed by smu with wrong size 'sizeof(int16_t) * ARRAY_SIZE(smu)'.
Since smu is actually a pointer, not an array, so ARRAY_SIZE(smu)
does not generate correct size to be cleared.

In fact, GCC 8.1.0 reports a warning against it:

error: division 'sizeof (int16_t * {aka short int *}) / sizeof (int16_t
{aka short int})' does not compute the number of array elements
[-Werror=sizeof-pointer-div]

Fix it by using the correct size.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
</content>
</entry>
<entry>
<title>Convert CONFIG_FLASH_CFI_DRIVER et al to Kconfig</title>
<updated>2018-10-19T23:19:50Z</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2018-10-14T20:10:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2fe88d452268d61b5ca9cb0b1dda2974cc43faeb'/>
<id>urn:sha1:2fe88d452268d61b5ca9cb0b1dda2974cc43faeb</id>
<content type='text'>
This converts the following to Kconfig:
   CONFIG_FLASH_CFI_DRIVER
   CONFIG_SYS_FLASH_USE_BUFFER_WRITE
   CONFIG_FLASH_CFI_MTD
   CONFIG_SYS_FLASH_PROTECTION
   CONFIG_SYS_FLASH_CFI

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
[trini: Re-migrate]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-spi</title>
<updated>2018-10-12T15:54:13Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-10-12T15:54:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e6cd05e5025bbab9723bbb09c506cbb5aa63bc53'/>
<id>urn:sha1:e6cd05e5025bbab9723bbb09c506cbb5aa63bc53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sf: Add MICRON manufacturer id</title>
<updated>2018-10-12T06:07:49Z</updated>
<author>
<name>Ashish Kumar</name>
<email>Ashish.Kumar@nxp.com</email>
</author>
<published>2018-09-25T08:41:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5c391486b411025785e064f160d248bef31b3d28'/>
<id>urn:sha1:5c391486b411025785e064f160d248bef31b3d28</id>
<content type='text'>
NOR flash name MT35X_QLKA and MT25Q_** used on NXP board has
manufacturer id as 0x2C, which are rather for newer flashes
after the split of Micron from ST.

So macro for this micron manufacturer id.

Signed-off-by: Suresh Gupta &lt;suresh.gupta@nxp.com&gt;
Signed-off-by: Yogesh Gaur &lt;yogeshnarayan.gaur@nxp.com&gt;
Signed-off-by: Ashish Kumar &lt;Ashish.Kumar@nxp.com&gt;
[jagan: updated commit message]
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>mtd: uboot: Fix hanging during mtd list command</title>
<updated>2018-10-10T06:04:10Z</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2018-10-08T19:13:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c8602061a7b27fe874a454b0ec65f1e45621adbb'/>
<id>urn:sha1:c8602061a7b27fe874a454b0ec65f1e45621adbb</id>
<content type='text'>
Some boards (like omap3_logic) hang when trying to access
address 0. This happens when executing the new 'mtd list' command.
This patch enhances the checks for conditions that would
preclude mtd_probe_devices() from operating.

Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command")
Suggested-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
</content>
</entry>
<entry>
<title>dm: spi: Add logging of some return values</title>
<updated>2018-10-09T10:40:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-10-01T18:22:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5e24a2ef8bf4f09b18cf4e943c73bfdd169a7581'/>
<id>urn:sha1:5e24a2ef8bf4f09b18cf4e943c73bfdd169a7581</id>
<content type='text'>
When SPI flash operations fail it is helpful to be able to see the error
codes and where they are generated. Add logging to capture this
information for read operations.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sf: Avoid allocating memory on every read operation</title>
<updated>2018-10-09T10:40:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-10-01T18:22:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=97f57109bb750d0b2908d6ecd4aef3801baf1cf2'/>
<id>urn:sha1:97f57109bb750d0b2908d6ecd4aef3801baf1cf2</id>
<content type='text'>
At present spi_flash_cmd_read_ops() allocates and frees a few bytes of
memory every time it is called. It is faster to use the stack for this
and this is now supported by the minimum GCC version required by U-Boot.

Remove the allocation and use a variable-sized array instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: spi: Clean up detection of sandbox SPI emulator</title>
<updated>2018-10-09T10:40:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-10-01T17:55:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=66613f5dd25c4372b3f5ecb2f0c1d08b7f77b3a8'/>
<id>urn:sha1:66613f5dd25c4372b3f5ecb2f0c1d08b7f77b3a8</id>
<content type='text'>
Now that we don't have to deal with the command-line flag we can simplify
the code for detecting the emulator. Remove the lookup based on the SPI
specification, relying just on the device tree to locate the emulator.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: spi: Add more logging</title>
<updated>2018-10-09T10:40:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-10-01T17:55:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c3aed5db591ee38068dc2b6d73b04638bd7b7b26'/>
<id>urn:sha1:c3aed5db591ee38068dc2b6d73b04638bd7b7b26</id>
<content type='text'>
Add logging to aid debugging features in these drivers. Also drop some
code in sandbox_spi_xfer() which is not used.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: spi: Drop command-line SPI option</title>
<updated>2018-10-09T10:40:26Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-10-01T17:55:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1289e96797bfd6311f3dc656fc515a882b82701b'/>
<id>urn:sha1:1289e96797bfd6311f3dc656fc515a882b82701b</id>
<content type='text'>
At present we support specifying SPI flash devices to use in the device
tree and on the command line. Drop the second option, since it is a pain
to support nicely with driver model, and unnecessary.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
