<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd/nand, branch v2011.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=v2011.09</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/nand?h=v2011.09'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2011-07-01T20:56:52Z</updated>
<entry>
<title>NAND: Add 16bit NAND support for the NDFC</title>
<updated>2011-07-01T20:56:52Z</updated>
<author>
<name>Alex Waterman</name>
<email>awaterman@dawning.com</email>
</author>
<published>2011-05-19T19:08:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eced4626e4d8ea2fd2662045dc7aad0f07db7a41'/>
<id>urn:sha1:eced4626e4d8ea2fd2662045dc7aad0f07db7a41</id>
<content type='text'>
This patch adds support for 16 bit NAND devices attached to the
NDFC on ppc4xx processors. Two config entries were added:

  CONFIG_SYS_NDFC_16        - Setting this tells the NDFC that a
			      16 bit device is attached.
  CONFIG_SYS_NDFC_EBC0_CFG  - This is for the External Bus
			      Controller configuration register.

Also, a new ndfc_read_byte() function was added which does not
first convert the data to little endian.

The NAND SPL was also modified to do 16bit bad block testing
when a 16 bit chip is being used.

Signed-off-by: Alex Waterman &lt;awaterman@dawning.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>nand_util: drop trailing all-0xff pages if requested</title>
<updated>2011-07-01T20:56:51Z</updated>
<author>
<name>Ben Gardiner</name>
<email>bengardiner@nanometrics.ca</email>
</author>
<published>2011-06-14T20:35:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=169d54d8b33b4d06d6f215e2b312a0b18f7909dc'/>
<id>urn:sha1:169d54d8b33b4d06d6f215e2b312a0b18f7909dc</id>
<content type='text'>
Add a flag to nand_read_skip_bad() such that if true, any trailing
pages in an eraseblock whose contents are entirely 0xff will be
dropped.

The implementation is via a new drop_ffs() function which is
based on the function of the same name from the ubiformat
utility by Artem Bityutskiy.

This is as-per the reccomendations of the UBI FAQ [1]

[1] http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo

Signed-off-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
CC: Artem Bityutskiy &lt;dedekind1@gmail.com&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
CC: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>nand_util: treat WITH_YAFFS_OOB as a mode</title>
<updated>2011-07-01T20:56:51Z</updated>
<author>
<name>Ben Gardiner</name>
<email>bengardiner@nanometrics.ca</email>
</author>
<published>2011-06-14T20:35:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c135456ff59aed0302f99a2e1327939bdced77f5'/>
<id>urn:sha1:c135456ff59aed0302f99a2e1327939bdced77f5</id>
<content type='text'>
When specified in the flags argument of nand_write, WITH_YAFFS_OOB causes an
operation which is mutually exclusive with the 'usual' way of writing.

Add a check that client code does not specify WITH_YAFFS_OOB along with any
other flags and add a comment indicating that the WITH_YAFFS_OOB flag should
not be mixed with other flags.

Signed-off-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
CC: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>nand_util: convert nand_write_skip_bad() to flags</title>
<updated>2011-07-01T20:56:51Z</updated>
<author>
<name>Ben Gardiner</name>
<email>bengardiner@nanometrics.ca</email>
</author>
<published>2011-05-24T14:18:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a6c9aa1f92dd16a0ec6faeff37069db61d3f7cf3'/>
<id>urn:sha1:a6c9aa1f92dd16a0ec6faeff37069db61d3f7cf3</id>
<content type='text'>
In a future commit the behaviour of nand_write_skip_bad()
will be further extended.

Convert the only flag currently passed to the nand_write_
skip_bad() function to a bitfield of only one allocated
member. This should avoid an explosion of int's at the
end of the parameter list or the ambiguous calls like

nand_write_skip_bad(info, offset, len, buf, 0, 1, 1);
nand_write_skip_bad(info, offset, len, buf, 0, 1, 0);

Instead there will be:

nand_write_skip_bad(info, offset, len, buf, WITH_YAFFS_OOB |
			WITH_OTHER);

Signed-off-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>nand_base: trivial: fix comment read/write comment</title>
<updated>2011-07-01T20:56:51Z</updated>
<author>
<name>Ben Gardiner</name>
<email>bengardiner@nanometrics.ca</email>
</author>
<published>2011-05-24T14:18:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bee038e9fe2fe0fcd53e89aac32fb8948555c040'/>
<id>urn:sha1:bee038e9fe2fe0fcd53e89aac32fb8948555c040</id>
<content type='text'>
Replace an incorrect 'read' with 'write' in a comment.

Signed-off-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>NAND: rearrange ONFI revision checking, add ONFI 2.3</title>
<updated>2011-04-15T20:53:11Z</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2011-04-03T16:23:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aad99bbc396a2e3b2913adcb02ed61d6d7e0f1ec'/>
<id>urn:sha1:aad99bbc396a2e3b2913adcb02ed61d6d7e0f1ec</id>
<content type='text'>
This patch sync with Brian's patch on Linux in nand_flash_detect_onfi()

	commit b7b1a29d94c17e4341856381bccb4d17495bea60
	Author: Brian Norris &lt;computersforpeace@gmail.com&gt;
	Date:   Sun Dec 12 00:23:33 2010 -0800

	    mtd: nand: rearrange ONFI revision checking, add ONFI 2.3

	    In checking for the ONFI revision, the first conditional (for checking
	    "unsupported" ONFI) seems unnecessary.  All ONFI revisions should be
	    backwards-compatible; even if this is not the case on some newer ONFI
	    revision, it should simply fail the second version-checking if-else block
	    (i.e., the bit-fields for 1.0, 2.0, etc. would not be set to 1). Thus, we
	    move our "unsupported" condition after having checked each bit field.

	    Also, it's simple enough to add a condition for ONFI revision 2.3. Note
	    that this does *NOT* mean we handle all new features of ONFI versions
	    above 1.0.

	    Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
	    Acked-by: Florian Fainelli &lt;ffainelli@freebox.fr&gt;
	    Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
</content>
</entry>
<entry>
<title>NAND: Fix integer overflow in ONFI detection of chips &gt;= 4GiB</title>
<updated>2011-04-15T20:53:11Z</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2011-04-03T16:23:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a931f49296fa2406abf3c21ea97697513571b7fb'/>
<id>urn:sha1:a931f49296fa2406abf3c21ea97697513571b7fb</id>
<content type='text'>
This patch sync with David's patch on Linux in nand_flash_detect_onfi()

	commit 4ccb3b4497ce01fab4933704fe21581e30fda1a5
	Author: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
	Date:   Fri Dec 3 16:36:34 2010 +0000

    	mtd: nand: Fix integer overflow in ONFI detection of chips &gt;= 4GiB

    	Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
</content>
</entry>
<entry>
<title>atmel_nand: don't require CONFIG_SYS_NAND_ENABLE_PIN</title>
<updated>2011-04-01T19:49:08Z</updated>
<author>
<name>michael</name>
<email>trimarchi@gandalf.sssup.it</email>
</author>
<published>2011-03-14T21:16:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=67a490d60d70f2b01d55976440ba30154af96965'/>
<id>urn:sha1:67a490d60d70f2b01d55976440ba30154af96965</id>
<content type='text'>
If NCE is hooked up to NCS3, we don't need to (and can't)
explicitly set the state of the NCE pin. Instead, the
controller asserts it automatically as part of a
command/data access. Only "CE don't care"-type NAND chips
can be used in this manner.

Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Reinhard Meyer &lt;u-boot@emk-elektronik.de&gt;
</content>
</entry>
<entry>
<title>NAND: add support for reading ONFI page table</title>
<updated>2011-04-01T19:49:08Z</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2011-02-25T00:01:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0272c718ba69c60a9d719db6806971d98db98090'/>
<id>urn:sha1:0272c718ba69c60a9d719db6806971d98db98090</id>
<content type='text'>
This patch adds support for reading an ONFI page parameter from a NAND
device supporting it. If this is the case, struct nand_chip onfi_version
member contains the supported ONFI version, 0 otherwise.

This allows NAND drivers past nand_scan_ident to set the best timings for the
NAND chip.

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>NAND: add more watchdog resets</title>
<updated>2011-04-01T19:49:08Z</updated>
<author>
<name>Scott Wood</name>
<email>scottwood@freescale.com</email>
</author>
<published>2011-02-03T00:15:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f2ffc3da2b794c3ee44d1a5ab5bcbe4b0851bd3'/>
<id>urn:sha1:6f2ffc3da2b794c3ee44d1a5ab5bcbe4b0851bd3</id>
<content type='text'>
Poke the watchdog in a variety of looping constructs, which could take
a long time to complete.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
</feed>
