Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-12-01 Thread Roger Quadros
On 30/11/2022 10:11, Dario Binacchi wrote: > Hi Tom, > > On Tue, Nov 29, 2022 at 5:18 PM Tom Rini wrote: >> >> On Tue, Nov 29, 2022 at 04:25:13PM +0100, Dario Binacchi wrote: >>> Hi Roger, >>> >>> On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: The BCH detection hardware can

Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-11-30 Thread Dario Binacchi
Hi Tom, On Tue, Nov 29, 2022 at 5:18 PM Tom Rini wrote: > > On Tue, Nov 29, 2022 at 04:25:13PM +0100, Dario Binacchi wrote: > > Hi Roger, > > > > On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > > > > > The BCH detection hardware can generate ECC bytes for multiple > > > sectors in one

Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-11-29 Thread Tom Rini
On Tue, Nov 29, 2022 at 04:25:13PM +0100, Dario Binacchi wrote: > Hi Roger, > > On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > > > The BCH detection hardware can generate ECC bytes for multiple > > sectors in one go. Use that feature. > > > > correct() only corrects one sector at a

Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-11-29 Thread Dario Binacchi
Hi Roger, On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > The BCH detection hardware can generate ECC bytes for multiple > sectors in one go. Use that feature. > > correct() only corrects one sector at a time so we need to call it > repeatedly for each sector. > > Signed-off-by: Roger

Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-11-28 Thread Michael Nazzareno Trimarchi
Hi Roger On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > The BCH detection hardware can generate ECC bytes for multiple > sectors in one go. Use that feature. > > correct() only corrects one sector at a time so we need to call it > repeatedly for each sector. > Reviewed-by: Michael

[u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-10-11 Thread Roger Quadros
The BCH detection hardware can generate ECC bytes for multiple sectors in one go. Use that feature. correct() only corrects one sector at a time so we need to call it repeatedly for each sector. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/omap_gpmc.c | 325