<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd, branch v2025.10-rc2</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=v2025.10-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd?h=v2025.10-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-08-07T17:14:35Z</updated>
<entry>
<title>mtd: spi-nor: Fix return value of s25_s28_mdp_ready()</title>
<updated>2025-08-07T17:14:35Z</updated>
<author>
<name>Takahiro Kuwano</name>
<email>Takahiro.Kuwano@infineon.com</email>
</author>
<published>2025-07-28T01:13:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a0526d44daebeb39d058d8b274370c3070457727'/>
<id>urn:sha1:a0526d44daebeb39d058d8b274370c3070457727</id>
<content type='text'>
s25_s28_mdp_ready() returns 1 when spansion_sr_ready() returns negative
value (error code). Fix this problem by following Linux implementation.

Fixes: 1c3dd193b5b ("mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t")
Reported-by: Hiroyuki Saito &lt;Hiroyuki.Saito2@infineon.com&gt;
Signed-off-by: Takahiro Kuwano &lt;Takahiro.Kuwano@infineon.com&gt;
Reviewed-by: Tudor Ambarus &lt;tudor.ambarus@linaro.org&gt;
</content>
</entry>
<entry>
<title>mtd: spi-nor-ids: Add support for Winbond W77Q51NW</title>
<updated>2025-08-06T14:52:27Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@mailbox.org</email>
</author>
<published>2025-07-20T19:58:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=393ace55be5cae4d4f543784d35f3b42655fd9c2'/>
<id>urn:sha1:393ace55be5cae4d4f543784d35f3b42655fd9c2</id>
<content type='text'>
Add IDs for Winbond W77Q51NW, 512M-bit Secure Serial Flash Memory
with Post-Quantum Cryptography, Dual/Quad SPI, QPI and DTR . The
flash part is similar to W25Q512NWM .

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
Reviewed-by: Tudor Ambarus &lt;tudor.ambarus@linaro.org&gt;
</content>
</entry>
<entry>
<title>mtd: nand: raw: Remove unused octeontx_nand driver</title>
<updated>2025-08-03T08:32:08Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-07-11T15:19:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8877bbe67a9be64f2735a45479df196cd22949aa'/>
<id>urn:sha1:8877bbe67a9be64f2735a45479df196cd22949aa</id>
<content type='text'>
As no platforms use this driver anymore let's go ahead and remove it.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: raw: Remove unused mxic_nand driver</title>
<updated>2025-08-03T08:31:14Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-07-11T15:19:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb34f23bdb6f869bac4e4cad8407e7b54fdfce7a'/>
<id>urn:sha1:cb34f23bdb6f869bac4e4cad8407e7b54fdfce7a</id>
<content type='text'>
As no platforms use this driver anymore let's go ahead and remove it.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: raw: Remove unused lpc32xx_nand_slc driver</title>
<updated>2025-08-03T08:27:47Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-08-03T08:27:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2412f00fc95c73d1683ee385d464c9d4cea8c34a'/>
<id>urn:sha1:2412f00fc95c73d1683ee385d464c9d4cea8c34a</id>
<content type='text'>
As no platforms use this driver anymore let's go ahead and remove it.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>mtd: rawnand: mxs_nand: Ensure err is set for error path</title>
<updated>2025-08-03T08:22:04Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-01T09:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=27242462167f678cb6ec78fa8c97f25c9557cb1e'/>
<id>urn:sha1:27242462167f678cb6ec78fa8c97f25c9557cb1e</id>
<content type='text'>
In mxs_nand_init_ctrl there are a couple of error paths that do not set
err which could lead to the errors being silently ignored despite the
function not completing. Rather than just using if to detect these
errors use err to collect the error return value from the called
functions.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Reviewed-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>mtd: rawnand: denali: Remove always true test</title>
<updated>2025-08-03T08:22:04Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-01T09:54:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2756de5213a1a88fae236d7be217c882b5daef9f'/>
<id>urn:sha1:2756de5213a1a88fae236d7be217c882b5daef9f</id>
<content type='text'>
In denali_wait_for_irq the code will either return from inside the while
loop or exit with time_left being 0. The following test for time_left
being 0 is guranteed to be true so remove the test and the following
unreachable code.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Reviewed-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>mtd: rawnand: cortina_nand: Fix -ENOMEM detection</title>
<updated>2025-08-03T08:22:04Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-01T09:54:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ebf8aaf7afdeb306b0fb85be2226a00aef18162f'/>
<id>urn:sha1:ebf8aaf7afdeb306b0fb85be2226a00aef18162f</id>
<content type='text'>
In init_nand_dma there was code to detect failure to allocate memory but
it had two problems. Firstly the 2nd clause when info-&gt;tx_desc was NULL
attempted to free info-&gt;tx_desc when it should be freeing info-&gt;rx_desc.
Secondly there was no detection of both allocations failing, arguably
the more likely scenario. Refactor the code to simplify it and just fail
as soon as either allocation fails.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Reviewed-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: sunxi: Free allocated memory on errors</title>
<updated>2025-08-03T08:20:16Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-01T10:39:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=56372f834c717402882112ba888943421020b6d5'/>
<id>urn:sha1:56372f834c717402882112ba888943421020b6d5</id>
<content type='text'>
Add kfree calls on error paths for memory that was allocated. This will
prevent memory leaks.

This issue found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Reviewed-By: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>mtd: rawnand: stm32_fmc2: Ensure to return error code</title>
<updated>2025-08-03T08:20:16Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-01T10:39:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4003ed1c1ecfc88092a1d3c65bf432ab7c2ea15f'/>
<id>urn:sha1:4003ed1c1ecfc88092a1d3c65bf432ab7c2ea15f</id>
<content type='text'>
In stm32_fmc2_nfc_probe there are 3 error returns that do not set the
error code before returning which could lead to the error being silently
ignored. Just return -EINVAL in each case.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Reviewed-by: Patrice Chotard &lt;patrice.chotard@foss.st.com&gt;
</content>
</entry>
</feed>
