<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/env_onenand.c, branch v2009.08</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>Fix compiler warnings after loff_t change</title>
<updated>2009-07-26T22:08:50+00:00</updated>
<author>
<name>Kyungmin Park</name>
<email>kmpark@infradead.org</email>
</author>
<published>2009-07-20T00:47:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=48287792384a93d77d43aaaa1c06cac275bbe1bb'/>
<id>48287792384a93d77d43aaaa1c06cac275bbe1bb</id>
<content type='text'>
Now 'env_addr' type is loff_t so use correct field type.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now 'env_addr' type is loff_t so use correct field type.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD: OneNAND: Increase the environment size to 4KiB</title>
<updated>2009-07-16T22:52:00+00:00</updated>
<author>
<name>Kyungmin Park</name>
<email>kmpark@infradead.org</email>
</author>
<published>2009-07-11T07:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=937076f84c5064f0a79105fce352ac7cf7b33643'/>
<id>937076f84c5064f0a79105fce352ac7cf7b33643</id>
<content type='text'>
Also use mtd operation instead of onenand functions

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also use mtd operation instead of onenand functions

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env_onenand: change env_address type from unsigned long to loff_t</title>
<updated>2009-07-07T22:58:11+00:00</updated>
<author>
<name>HeungJun Kim</name>
<email>riverful.kim@gmail.com</email>
</author>
<published>2009-06-30T05:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2e8a6f551cba550e9220dca4d8504066203b1f74'/>
<id>2e8a6f551cba550e9220dca4d8504066203b1f74</id>
<content type='text'>
If use the onenand boot, the env_relocate_spec() calls mtd-&gt;read(),
and the type of the argument #2 of mtd-&gt;read() was changed to loff_t.
But, the "env_addr" type is still unsigned long, thus this patch change
the type from unsigned long to loff_t.

Acked-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: HeungJun, Kim &lt;riverful.kim@samsung.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If use the onenand boot, the env_relocate_spec() calls mtd-&gt;read(),
and the type of the argument #2 of mtd-&gt;read() was changed to loff_t.
But, the "env_addr" type is still unsigned long, thus this patch change
the type from unsigned long to loff_t.

Acked-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: HeungJun, Kim &lt;riverful.kim@samsung.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: Update MTD infrastructure to support 64bit device size</title>
<updated>2009-06-12T18:45:47+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2009-05-11T14:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8d2effea23e938631126a7888008a0637e13b389'/>
<id>8d2effea23e938631126a7888008a0637e13b389</id>
<content type='text'>
This patch brings the U-Boot MTD infrastructure in sync with the current
Linux MTD version (2.6.30-rc3). Biggest change is the 64bit device size
support and a resync of the mtdpart.c file which has seen multiple fixes
meanwhile.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Kyungmin Park &lt;kmpark@infradead.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch brings the U-Boot MTD infrastructure in sync with the current
Linux MTD version (2.6.30-rc3). Biggest change is the 64bit device size
support and a resync of the mtdpart.c file which has seen multiple fixes
meanwhile.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Cc: Kyungmin Park &lt;kmpark@infradead.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OneNAND: Add missing mtd info struct before calling onenand_erase()</title>
<updated>2008-12-02T19:48:15+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2008-11-27T13:11:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5e46b1e54112f4b7fd5185665e571510132c12a7'/>
<id>5e46b1e54112f4b7fd5185665e571510132c12a7</id>
<content type='text'>
Without this patch "saveenv" crashes when MTD partitions are enabled (e.g.
for use in UBI) via CONFIG_MTD_PARTITIONS.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this patch "saveenv" crashes when MTD partitions are enabled (e.g.
for use in UBI) via CONFIG_MTD_PARTITIONS.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rename CFG_ENV macros to CONFIG_ENV</title>
<updated>2008-09-10T20:48:06+00:00</updated>
<author>
<name>Jean-Christophe PLAGNIOL-VILLARD</name>
<email>plagnioj@jcrosoft.com</email>
</author>
<published>2008-09-10T20:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0e8d158664a913392cb01fb11a948d83f72e105e'/>
<id>0e8d158664a913392cb01fb11a948d83f72e105e</id>
<content type='text'>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env_onenand: Move conditional compilation to Makefile</title>
<updated>2008-09-10T20:48:00+00:00</updated>
<author>
<name>Jean-Christophe PLAGNIOL-VILLARD</name>
<email>plagnioj@jcrosoft.com</email>
</author>
<published>2008-09-10T20:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=55c5f49910ec8225347aa1d211352a84de6649b4'/>
<id>55c5f49910ec8225347aa1d211352a84de6649b4</id>
<content type='text'>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rename CFG_ENV_IS_IN_ONENAND in CONFIG_ENV_IS_IN_ONENAND</title>
<updated>2008-09-10T20:47:59+00:00</updated>
<author>
<name>Jean-Christophe PLAGNIOL-VILLARD</name>
<email>plagnioj@jcrosoft.com</email>
</author>
<published>2008-09-10T20:47:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9656138ff1a34d4c4768db6b490deffc40ee674b'/>
<id>9656138ff1a34d4c4768db6b490deffc40ee674b</id>
<content type='text'>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix OneNAND build break</title>
<updated>2008-08-13T16:00:19+00:00</updated>
<author>
<name>Kyungmin Park</name>
<email>kmpark@infradead.org</email>
</author>
<published>2008-08-13T00:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d438d50848e9425286e5fb0493e0affb5a0b1e1b'/>
<id>d438d50848e9425286e5fb0493e0affb5a0b1e1b</id>
<content type='text'>
Since page size field is changed from oobblock to writesize. But OneNAND is not updated.
- fix bufferram management at erase operation
This patch includes the NAND/OneNAND state filed too.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since page size field is changed from oobblock to writesize. But OneNAND is not updated.
- fix bufferram management at erase operation
This patch includes the NAND/OneNAND state filed too.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OneNAND: Remove base address offset usage</title>
<updated>2008-08-10T20:45:04+00:00</updated>
<author>
<name>dirk.behme@googlemail.com</name>
<email>dirk.behme@googlemail.com</email>
</author>
<published>2008-08-10T15:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa5ffa16d7e4c461b7b77bf8e79d2ef5638cf754'/>
<id>aa5ffa16d7e4c461b7b77bf8e79d2ef5638cf754</id>
<content type='text'>
While locally preparing some U-Boot patches for ARM based OMAP3 boards, some
using OneNAND and some using NAND, we found some differences in OneNAND and
NAND command address handling.

As this might confuse users (it already confused us), we like to align OneNAND
and NAND address handling.

The issue is that cmd_onenand.c subtracts the onenand base address from the
addresses you type into the u-boot command line so, unlike nand, you can't
use addresses relative to the start of the onenand part e.g. this won't work:

onenand read 82000000 280000 400000

you have to use:

onenand read 82000000 20280000 400000

Looking at recent git, the only board currently using OneNAND is Apollon, and
for this the OneNAND base address is 0 (apollon.h)

#define	CFG_ONENAND_BASE	0x00000000

so patch below won't break any existing boards and will align OneNAND and NAND
handling on boards where OneNAND base address is != 0.

Signed-off-by: Steve Sakoman &lt;sakoman@gmail.com&gt;
Signed-off-by: Manikandan Pillai &lt;mani.pillai@ti.com&gt;
Signed-off-by: Dirk Behme &lt;dirk.behme@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While locally preparing some U-Boot patches for ARM based OMAP3 boards, some
using OneNAND and some using NAND, we found some differences in OneNAND and
NAND command address handling.

As this might confuse users (it already confused us), we like to align OneNAND
and NAND address handling.

The issue is that cmd_onenand.c subtracts the onenand base address from the
addresses you type into the u-boot command line so, unlike nand, you can't
use addresses relative to the start of the onenand part e.g. this won't work:

onenand read 82000000 280000 400000

you have to use:

onenand read 82000000 20280000 400000

Looking at recent git, the only board currently using OneNAND is Apollon, and
for this the OneNAND base address is 0 (apollon.h)

#define	CFG_ONENAND_BASE	0x00000000

so patch below won't break any existing boards and will align OneNAND and NAND
handling on boards where OneNAND base address is != 0.

Signed-off-by: Steve Sakoman &lt;sakoman@gmail.com&gt;
Signed-off-by: Manikandan Pillai &lt;mani.pillai@ti.com&gt;
Signed-off-by: Dirk Behme &lt;dirk.behme@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
