<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd/nand, branch v2016.09</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/nand?h=v2016.09</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/nand?h=v2016.09'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-09-09T13:45:32Z</updated>
<entry>
<title>Merge branch 'master' of git://www.denx.de/git/u-boot-imx</title>
<updated>2016-09-09T13:45:32Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2016-09-09T13:45:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=16f416661ec5ffa46b3f879a0b83907bbec13714'/>
<id>urn:sha1:16f416661ec5ffa46b3f879a0b83907bbec13714</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mtd: nand: mxs: fix cache alignment for cache lines &gt;32</title>
<updated>2016-09-06T16:22:48Z</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2016-08-02T06:55:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2a83c95fdb9c2f735d1c30c71bc52f6fd8aa0f97'/>
<id>urn:sha1:2a83c95fdb9c2f735d1c30c71bc52f6fd8aa0f97</id>
<content type='text'>
Currently the command buffer gets allocated with a size of 32 bytes.
This causes warning messages on systems with cache lines bigger than
32 bytes:
CACHE: Misaligned operation at range [9df17a00, 9df17a20]

Define command buffer to be at least 32 bytes, but more if cache
line is bigger.

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
Reviewed-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>nand: Fix some more NULL name tests</title>
<updated>2016-09-02T01:08:48Z</updated>
<author>
<name>Scott Wood</name>
<email>oss@buserror.net</email>
</author>
<published>2016-09-01T22:31:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8b7d51249eca113c4965a7c417f33d7eb569434b'/>
<id>urn:sha1:8b7d51249eca113c4965a7c417f33d7eb569434b</id>
<content type='text'>
Now that nand_info[] is an array of pointers we need to test the
pointer itself rather than using name as a proxy for NULLness.

Fixes: b616d9b0a708eb9 ("nand: Embed mtd_info in struct nand_chip")
Signed-off-by: Scott Wood &lt;oss@buserror.net&gt;
Cc: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: pxa3xx: use nand_set_controller_data</title>
<updated>2016-09-01T22:30:11Z</updated>
<author>
<name>Chris Packham</name>
<email>judge.packham@gmail.com</email>
</author>
<published>2016-08-29T03:20:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=91395b5d4ebb07bf6488058f0ba37256856816f6'/>
<id>urn:sha1:91395b5d4ebb07bf6488058f0ba37256856816f6</id>
<content type='text'>
In commit 17cb4b8f327e ("mtd: nand: Add+use mtd_to/from_nand and
nand_get/set_controller_data") the assignment of mtd-&gt;priv was removed
but was not replaced. This adds the required nand_set_controller_data()
call.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: fix bug writing 1 byte less than page size</title>
<updated>2016-07-25T01:36:29Z</updated>
<author>
<name>Hector Palacios</name>
<email>hector.palacios@digi.com</email>
</author>
<published>2016-07-18T07:37:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ebb7febc92fc628d1f37b96616a1bb21b646d072'/>
<id>urn:sha1:ebb7febc92fc628d1f37b96616a1bb21b646d072</id>
<content type='text'>
nand_do_write_ops() determines if it is writing a partial page with the
formula:
	part_pagewr = (column || writelen &lt; (mtd-&gt;writesize - 1))

When 'writelen' is exactly 1 byte less than the NAND page size the formula
equates to zero, so the code doesn't process it as a partial write, although
it should.
As a consequence the function remains in the while(1) loop with 'writelen'
becoming 0xffffffff and iterating until the watchdog timeout triggers.

To reproduce the issue on a NAND with 2K page (0x800):
	=&gt; nand erase.part &lt;partition&gt;
	=&gt; nand write $loadaddr &lt;partition&gt; 7ff

Signed-off-by: Hector Palacios &lt;hector.palacios@digi.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: Add a full-id entry for the H27QCG8T2E5R‐BCF NAND</title>
<updated>2016-07-25T01:36:28Z</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2016-06-15T19:09:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cd7f5e1cdfae1d4cd73cfc16ae6bcddfeb752727'/>
<id>urn:sha1:cd7f5e1cdfae1d4cd73cfc16ae6bcddfeb752727</id>
<content type='text'>
Add a full-id entry for the H27QCG8T2E5R‐BCF NAND.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Acked-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: Add the sunxi NAND controller driver</title>
<updated>2016-07-25T01:36:28Z</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2016-06-15T19:09:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4ccae81cdadce39e925f3e8c96567fd911568000'/>
<id>urn:sha1:4ccae81cdadce39e925f3e8c96567fd911568000</id>
<content type='text'>
We already have an SPL driver for the sunxi NAND controller, now add
the normal/standard one.

The source has been copied from Linux 4.6 with a few changes to make
it work in u-boot.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Acked-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: add common DT init code</title>
<updated>2016-07-25T01:36:28Z</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2016-06-15T19:09:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=42bd19ce6c7bffef402ad6dd639c33686f485d29'/>
<id>urn:sha1:42bd19ce6c7bffef402ad6dd639c33686f485d29</id>
<content type='text'>
These are already-documented common bindings for NAND chips. Let's
handle them in nand_base.

If NAND controller drivers need to act on this data before bringing up
the NAND chip (e.g., fill out ECC callback functions, change HW modes,
etc.), then they can do so between calling nand_scan_ident() and
nand_scan_tail().

The original commit has been slightly reworked to use the fdtdec_xxx()
helpers (instead of the of_xxxx() ones).

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Acked-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>armv7: make gpmc_cfg const</title>
<updated>2016-07-22T18:46:00Z</updated>
<author>
<name>Ladislav Michl</name>
<email>ladis@linux-mips.org</email>
</author>
<published>2016-07-12T18:28:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0568dd0663429b00fb77c452e27434c2f4faa14b'/>
<id>urn:sha1:0568dd0663429b00fb77c452e27434c2f4faa14b</id>
<content type='text'>
Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
[trini: Adapt am33xx, duovero, omap_zoom1]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>nand_spl_simple: Add a simple NAND read function</title>
<updated>2016-07-22T13:52:59Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2016-07-12T18:28:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e1a89e9358b8cedd98ad346cccd08e1bca669072'/>
<id>urn:sha1:e1a89e9358b8cedd98ad346cccd08e1bca669072</id>
<content type='text'>
To support UBI in SPL we need a simple NAND read function. Add one to
nand_spl_simple and keep it as simple as it goes.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Acked-by: Scott Wood &lt;oss@buserror.net&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
</feed>
