<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd/nand, branch v2015.01</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=v2015.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/nand?h=v2015.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-01-09T18:19:06Z</updated>
<entry>
<title>mtd: nand: do not scan BBT after scrub</title>
<updated>2015-01-09T18:19:06Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-12-26T13:20:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ab37b76d5d7879009565d1d1a2be6de63f86a674'/>
<id>urn:sha1:ab37b76d5d7879009565d1d1a2be6de63f86a674</id>
<content type='text'>
Currently, "nand scrub" runs chip-&gt;scan_bbt at the end of
nand_erase_opts() even if NAND_SKIP_BBTSCAN flag is set.

It violates the intention of NAND_SKIP_BBTSCAN.

Move NAND_SKIP_BBTSCAN flag check to nand_block_checkbad() so that
chip-&gt;scan_bbt() is never run if NAND_SKIP_BBTSCAN is set.

Also, unset NAND_BBT_SCANNED flag instead of running chip-&gt;scan_bbt()
right after scrub.  We can be lazier here because the BBT is scanned
at the next call of nand_block_checkbad().

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: Mark the BBT as scanned prior to calling scan_bbt again</title>
<updated>2015-01-09T18:19:02Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-12-26T13:20:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf80ee6e1d73be046a7c5454c7e7493e7a6ea5e0'/>
<id>urn:sha1:bf80ee6e1d73be046a7c5454c7e7493e7a6ea5e0</id>
<content type='text'>
Commit 35c204d8a9d0 (nand: reinstate lazy bad block scanning)
broke NAND_BBT_USE_FLASH feature.

Its git-log claimed that it reinstated the change as by commit
fb49454b1b6c ("nand: reinstate lazy bad block scanning"), but it moved
"chip-&gt;options |= NAND_BBT_SCANNED" below "chip-&gt;scan_bbt(mtd);".

It causes recursion if scan_bbt does not find a flash based BBT
and tries to write one, and the attempt to erase the BBT area
causes a bad block check.

Reinstate commit ff49ea8977b5 (NAND: Mark the BBT as scanned prior to
calling scan_bbt.).

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Rostislav Lisovy &lt;lisovy@merica.cz&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: revive "nand scrub" command</title>
<updated>2015-01-09T18:18:58Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-12-16T06:36:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=756963d7da746abd6448cb1d7be0c70b1c80ca35'/>
<id>urn:sha1:756963d7da746abd6448cb1d7be0c70b1c80ca35</id>
<content type='text'>
Since commit ff94bc40af34 (mtd, ubi, ubifs: resync with Linux-3.14),
the "nand scrub" command has not been working.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>mtd: nand: omap_gpmc: fix error handling</title>
<updated>2015-01-05T21:40:18Z</updated>
<author>
<name>Guido Martínez</name>
<email>guido@vanguardiasur.com.ar</email>
</author>
<published>2015-01-02T17:49:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eb54d2c70ce3b14e0c9ae141e216d5ad0b22d0dd'/>
<id>urn:sha1:eb54d2c70ce3b14e0c9ae141e216d5ad0b22d0dd</id>
<content type='text'>
"err" was an unsigned variable, causing negative error codes to turn
into positive values, which are interpreted as an amount of succesfully
corrected bitflips (and thus not an error).

In particular, this resulted in that if the elm reports uncorrectable
errors (-EBADMSG), the MTD layer (and UBI) falsely succeeded.

Signed-off-by: Guido Martínez &lt;guido@vanguardiasur.com.ar&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>driver/mtd: Fix IFC compilation warnings</title>
<updated>2014-12-11T17:42:32Z</updated>
<author>
<name>Jaiprakash Singh</name>
<email>b44839@freescale.com</email>
</author>
<published>2014-11-27T07:08:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1d421cc6773dd9090e8b9202a24038561a28e56c'/>
<id>urn:sha1:1d421cc6773dd9090e8b9202a24038561a28e56c</id>
<content type='text'>
'eccstat' array elements might be used uninitialized

Signed-off-by: Jaiprakash Singh &lt;b44839@freescale.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>arm: ls102xa: Add NAND boot support for LS1021AQDS board</title>
<updated>2014-12-11T17:40:24Z</updated>
<author>
<name>Alison Wang</name>
<email>b18965@freescale.com</email>
</author>
<published>2014-12-09T09:38:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8ab967b6c6007adbd30e58dfa9ef69154a351484'/>
<id>urn:sha1:8ab967b6c6007adbd30e58dfa9ef69154a351484</id>
<content type='text'>
This patch adds NAND boot support for LS1021AQDS board. SPL
framework is used. PBL initialize the internal RAM and copy
SPL to it, then SPL initialize DDR using SPD and copy u-boot
from NAND flash to DDR, finally SPL transfer control to u-boot.

Signed-off-by: Prabhakar Kushwaha &lt;prabhakar@freescale.com&gt;
Signed-off-by: Alison Wang &lt;alison.wang@freescale.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: omap_gpmc: Always use ready/busy pin</title>
<updated>2014-12-05T02:28:31Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2014-11-13T02:43:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fb384c4720ca7496775d6578f184bf628db73456'/>
<id>urn:sha1:fb384c4720ca7496775d6578f184bf628db73456</id>
<content type='text'>
The functions to detect the state of the ready / busy signal is already
available but only used in the SPL case. Lets use it always, also for the
main U-Boot. As all boards should have this HW connection.

Testing on Siemens Draco (am335x) showed a small perfomance gain by using
this ready pin to detect the NAND chip state. Here the values tested on
Draco with Hynix 4GBit NAND:

Without NAND ready pin:

U-Boot# time nand read 80400000 0 400000

NAND read: device 0 offset 0x0, size 0x400000
4194304 bytes read: OK

time: 2.947 seconds, 2947 ticks

With NAND ready pin:

U-Boot# time nand read 80400000 0 400000

NAND read: device 0 offset 0x0, size 0x400000
4194304 bytes read: OK

time: 2.795 seconds, 2795 ticks

So an increase of approx. 5%.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Roger Meier &lt;r.meier@siemens.com&gt;
Cc: Samuel Egli &lt;samuel.egli@siemens.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: s3c: Unify the register definition and naming</title>
<updated>2014-11-27T05:21:43Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2014-10-11T16:42:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b19157bf3f2345586f2db8a0f8f92cc54f527952'/>
<id>urn:sha1:b19157bf3f2345586f2db8a0f8f92cc54f527952</id>
<content type='text'>
Merge struct s3c2410_nand and struct s3c2440_nand into one unified
struct s3c24x0_nand. While at it, fix up and rename the functions
to retrieve the NAND base address and fix up the s3c NAND driver to
reflect this change.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
</content>
</entry>
<entry>
<title>mtd/nand/vf610_nfc: Disable subpage writes</title>
<updated>2014-11-27T01:53:49Z</updated>
<author>
<name>Sanchayan Maity</name>
<email>maitysanchayan@gmail.com</email>
</author>
<published>2014-11-24T05:33:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=226045734189690e91b7a101d22ce94793209bab'/>
<id>urn:sha1:226045734189690e91b7a101d22ce94793209bab</id>
<content type='text'>
This patch disables subpage writes for vf610_nfc nand
driver. This is required, as without this fix, writing
unaligned u-boot images with DFU results in a hang.
Trying to write unalgined binary images also results
in a hang, without disabling subpage writes.

Patch has been tested on a Colibri VF61 module.

Signed-off-by: Sanchayan Maity &lt;maitysanchayan@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: denali: set some registers after nand_scan_ident()</title>
<updated>2014-11-27T01:53:22Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-11-13T11:31:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f09eb52b3ffcc63b5bdaa5ca33f130491201f571'/>
<id>urn:sha1:f09eb52b3ffcc63b5bdaa5ca33f130491201f571</id>
<content type='text'>
Some but not all of implementations of the Denali NAND controller
have hardware circuits to detect the device parameters such as
page_size, erase_size, etc.  Even on those SoCs with such hardware
supported, the hardware is known to detect wrong parameters for some
nasty (almost buggy) NAND devices.  The device parameters detected
during nand_scan_ident() are more trustworthy.

This commit sets some hardware registers to mtd-&gt;pagesize,
mtd-&gt;oobsize, etc. in the code between nand_scan_ident() and
nand_scan_tail().

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Chin Liang See &lt;clsee@altera.com&gt;
</content>
</entry>
</feed>
