On 06/20/2014 04:00 AM, Scott Wood wrote:
On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote:
From: WingMan Kwok w-kw...@ti.com
This commit adds a nand ecclayout command that allows the ecclayout of
the current nand device to be changed during run time. This feature is
useful
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -462,6 +462,53 @@ static void adjust_size_for_badblocks(loff_t *size,
+ for (i = 0; i p-eccbytes; i++) {
+ if (i !(i % 9))
+ printf(\n);
+
+ printf(%2d , p-eccpos[i]);
+
On Fri, 2014-06-20 at 09:10 -0500, Jon Loeliger wrote:
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -462,6 +462,53 @@ static void adjust_size_for_badblocks(loff_t *size,
+ for (i = 0; i p-eccbytes; i++) {
+ if (i !(i % 9))
+ printf(\n
On Fri, 2014-06-20 at 16:29 +0300, Ivan Khoronzhuk wrote:
On 06/20/2014 04:00 AM, Scott Wood wrote:
On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote:
+ } else {
+ printf(Setting current device
+ to
On 06/20/2014 07:31 PM, Scott Wood wrote:
On Fri, 2014-06-20 at 16:29 +0300, Ivan Khoronzhuk wrote:
On 06/20/2014 04:00 AM, Scott Wood wrote:
On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote:
+ } else {
+ printf(Setting
On 06/20/2014 07:03 PM, Scott Wood wrote:
On Fri, 2014-06-20 at 09:10 -0500, Jon Loeliger wrote:
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -462,6 +462,53 @@ static void adjust_size_for_badblocks(loff_t *size,
+ for (i = 0; i p-eccbytes; i++) {
+ if (i !(i % 9))
+
On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote:
From: WingMan Kwok w-kw...@ti.com
This commit adds a nand ecclayout command that allows the ecclayout of
the current nand device to be changed during run time. This feature is
useful when using u-boot to write something to
7 matches
Mail list logo