<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/mtd/onenand, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-09-20T14:40:49Z</updated>
<entry>
<title>mtd: Fallback to -&gt;_read/write_oob() when -&gt;_read/write() is missing</title>
<updated>2018-09-20T14:40:49Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-08-16T15:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=596cf083da34c2007f8ec760c8b077f6f28ee655'/>
<id>urn:sha1:596cf083da34c2007f8ec760c8b077f6f28ee655</id>
<content type='text'>
Some MTD sublayers/drivers are implementing -&gt;_read/write_oob() and
provide dummy wrappers for their -&gt;_read/write() implementations.
Let the core handle this case instead of duplicating the logic.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Acked-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Acked-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@free-electrons.com&gt;
Tested-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>mtd: replace MTDDEBUG() with pr_debug()</title>
<updated>2017-10-23T18:07:26Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2017-10-17T15:10:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=166cae20dd797dcb25fc550269792f15704d9c58'/>
<id>urn:sha1:166cae20dd797dcb25fc550269792f15704d9c58</id>
<content type='text'>
In old days, the MTD subsystem in Linux had debug facility like
DEBUG(MTD_DEBUG_LEVEL1, ...).

They were all replaced with pr_debug() until Linux 3.2.  See Linux
commit 289c05222172 ("mtd: replace DEBUG() with pr_debug()").

U-Boot still uses similar macros.  Covert all of them for easier sync.

Done with the help of Coccinelle.

The semantic patch I used is as follows:

// &lt;smpl&gt;
@@
expression e1, e2;
@@
-MTDDEBUG(e1, e2)
+pr_debug(e2)
@@
expression e1, e2;
@@
-MTDDEBUG(e1, e2,
+pr_debug(e2,
 ...)
// &lt;/smpl&gt;

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>mtd: OneNAND: Fix onenand_block_markbad</title>
<updated>2017-06-23T14:38:07Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2017-06-20T15:17:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4e118ce6d8e6f8b2d61f632ec0898886d15fa71c'/>
<id>urn:sha1:4e118ce6d8e6f8b2d61f632ec0898886d15fa71c</id>
<content type='text'>
commit dfe64e2c89731a3f9950d7acd8681b68df2bae03
    Author: Sergey Lapin &lt;slapin@ossfans.org&gt;
    Date:   Mon Jan 14 03:46:50 2013 +0000

        mtd: resync with Linux-3.7.1

modified onenand_block_markbad to call mtd_block_markbad,
but as _block_markbad function pointer used by mtd_block_markbad
to do actual job is by default pointing back to
onenand_block_markbad there is no way this function ever
finishes its job.
Fix it by changing function body according current (4.12-rc6)
linux implementation.
Tested on IGEPv2 board with Muxed OneNAND(DDP) 512MB containing
several unerasable blocks this function marked bad.

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>onenand_spl_simple: Add DDP OneNAND support</title>
<updated>2017-06-23T14:38:07Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2017-06-20T09:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=b51ced8e2aec9cc4f5a600b09d09f1b54be19d04'/>
<id>urn:sha1:b51ced8e2aec9cc4f5a600b09d09f1b54be19d04</id>
<content type='text'>
Current implementation is unable to access second half of
DDP OneNAND flash (reads first half mirrored). Use block
and bufferram address calculations from onenand_base to
fix this.

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>onenand_spl_simple: Call onenand_spl_get_geometry() only once</title>
<updated>2017-06-23T14:38:06Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2017-06-20T09:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0da008ef8d0441d582619c279212e65f9f0bd2fa'/>
<id>urn:sha1:0da008ef8d0441d582619c279212e65f9f0bd2fa</id>
<content type='text'>
Do not call onenand_spl_get_geometry() for each block read.

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>treewide: replace #include &lt;asm/errno.h&gt; with &lt;linux/errno.h&gt;</title>
<updated>2016-09-23T21:55:42Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2016-09-21T02:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1221ce459d04a428f8880f58581f671b736c3c27'/>
<id>urn:sha1:1221ce459d04a428f8880f58581f671b736c3c27</id>
<content type='text'>
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content.  (both just wrap &lt;asm-generic/errno.h&gt;)

Replace all include directives for &lt;asm/errno.h&gt; with &lt;linux/errno.h&gt;.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>mtd: OneNAND: initialize mtd-&gt;writebufsize to let UBI work</title>
<updated>2016-07-22T18:46:12Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2016-07-12T18:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=52486927e7f0c9ea2c5af32cc21496c908cae661'/>
<id>urn:sha1:52486927e7f0c9ea2c5af32cc21496c908cae661</id>
<content type='text'>
io_init checks this value and fails with "bad write buffer size 0 for
2048 min. I/O unit"

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>mtd: OneNAND: allow board init function fail</title>
<updated>2016-07-22T18:46:12Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2016-07-12T18:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=77b93e5e9b28328f76556e0c0b94889df47077d7'/>
<id>urn:sha1:77b93e5e9b28328f76556e0c0b94889df47077d7</id>
<content type='text'>
Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>mtd: OneNAND: add timeout to wait ready loops</title>
<updated>2016-07-22T18:46:11Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2016-07-12T18:28:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d9098ee55f6cf6f51e2fbed0336957e2b7156225'/>
<id>urn:sha1:d9098ee55f6cf6f51e2fbed0336957e2b7156225</id>
<content type='text'>
Add timeout to onenand_wait ready loop as it hangs here indefinitely
when chip not present. Once there, do the same for onenand_bbt_wait
as well (note: recent Linux driver code does the same)

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
</content>
</entry>
</feed>
