All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] "CONFIG_MTD_ECC_SOFT not enabled" breakage/change
Date: Mon, 5 Mar 2012 16:04:03 -0600	[thread overview]
Message-ID: <4F553853.3090000@freescale.com> (raw)
In-Reply-To: <CAPOFwxqTxcXbdvKwMQAdJbre+6daU=9j91gtWqrDe-wsVvy58w@mail.gmail.com>

On 03/02/2012 03:08 PM, David Purdy wrote:
> While finishing some work on support for a new machine, a build based
> on the latest git, I see this:
> ...........................
> U-Boot 2011.12-00374-g54e9668-dirty (Mar 02 2012 - 14:48:48)
> Pogoplug E02
> 
> SoC:   Kirkwood 88F6281_A0
> DRAM:  256 MiB
> WARNING: Caches not enabled
> NAND:  CONFIG_MTD_ECC_SOFT not enabled
> 0 MiB
> `````````````````````````````
> 
> which is very reminiscent of what Thomas Weber mentions here:
> http://lists.denx.de/pipermail/u-boot/2012-February/117926.html
> 
> Is it now considered standard and expected practice to enable
> CONFIG_MTD_ECC_SOFT  in the machine config ?
> 
> Or is this a fluke/bug/commit error that is awaiting a fix?

It was a patch applied by mistake despite changes requested.

It's been fixed by:

> commit 1f7b1743d389fec616e9021012a03847f490cd18
> Author: Scott Wood <scottwood@freescale.com>
> Date:   Mon Feb 13 15:46:27 2012 -0600
> 
>     Revert "nand: make 1-bit software ECC configurable"
>     
>     This reverts commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5.
>     
>     It breaks boards that currently rely on soft-ecc, as pointed out here:
>     http://patchwork.ozlabs.org/patch/140872/
>     
>     The reverted patch should be resubmitted with documentation, and with the
>     CONFIG_MTD_ECC_SOFT selected from every board that needs it.  We could
>     start by looking at what NAND driver the board selects, and whether
>     that driver ever asks for soft ECC.
>     
>     Signed-off-by: Scott Wood <scottwood@freescale.com>

-Scott

      reply	other threads:[~2012-03-05 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 21:08 [U-Boot] "CONFIG_MTD_ECC_SOFT not enabled" breakage/change David Purdy
2012-03-05 22:04 ` Scott Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F553853.3090000@freescale.com \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.