[PATCH] mtd: rawnand: nand_base: Handle algorithm selection

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Wed Mar 8 18:10:10 CET 2023


Hi

On Wed, Mar 8, 2023 at 5:55 PM Tom Rini <trini at konsulko.com> wrote:

> On Wed, Mar 08, 2023 at 12:05:37AM +0100, Linus Walleij wrote:
> > On Sun, Jan 22, 2023 at 12:43 AM Linus Walleij <linus.walleij at linaro.org>
> wrote:
> >
> > > For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the
> > > D-Link DIR-885L and DIR-890L routers, we need to explicitly
> > > select the ECC like this in the device tree:
> > >
> > >   nand-ecc-algo = "bch";
> > >   nand-ecc-strength = <1>;
> > >   nand-ecc-step-size = <512>;
> > >
> > > This is handled by the Linux kernel but U-Boot core does
> > > not respect this. Fix it up by parsing the algorithm and
> > > preserve the behaviour using this property to select
> > > software BCH as far as possible.
> > >
> > > Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> >
> > It's been 1 1/2 month, could we apply this patch?
>
> Can we get an ack/review from someone that chimed in earlier in the
> thread with comments please?
>
>
I was waiting from William Zhang  but I will review and queue the patch

Michael

-- 
> Tom
>


More information about the U-Boot mailing list