Re: [U-Boot] [PATCH] drivers: nand: brcmnand: fix nand_chip ecc layout structure

2019-10-20 Thread William Zhang
Thank you Daniel! -Original Message- From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com] Sent: Friday, October 18, 2019 4:37 AM To: William Zhang; philippe.rey...@softathome.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] drivers: nand: brcmnand: fix nand_chip ecc

Re: [U-Boot] [PATCH] drivers: nand: brcmnand: fix nand_chip ecc layout structure

2019-10-18 Thread Daniel Schwierzeck
Am 04.09.19 um 19:51 schrieb William Zhang: > The current brcmnand driver is based on 4.18 linux kernel which uses > mtd_set_ooblayout to set ecc layout. But nand base code in u-boot is from > old kernel which does not use this new API and expect nand_chip.ecc.layout > structure to be set. This

Re: [U-Boot] [PATCH] drivers: nand: brcmnand: fix nand_chip ecc layout structure

2019-09-05 Thread Philippe REYNES
> The current brcmnand driver is based on 4.18 linux kernel which uses > mtd_set_ooblayout to set ecc layout. But nand base code in u-boot is from > old kernel which does not use this new API and expect nand_chip.ecc.layout > structure to be set. This cause nand_scan_tail function running into a

[U-Boot] [PATCH] drivers: nand: brcmnand: fix nand_chip ecc layout structure

2019-09-04 Thread William Zhang
The current brcmnand driver is based on 4.18 linux kernel which uses mtd_set_ooblayout to set ecc layout. But nand base code in u-boot is from old kernel which does not use this new API and expect nand_chip.ecc.layout structure to be set. This cause nand_scan_tail function running into a bug check