Files
u-boot/drivers
William Zhang e365de9051 drivers: nand: brcmnand: fix nand_chip ecc layout structure
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 if the device has a different oob size than the default ones.

This patch ports the brcmstb_choose_ecc_layout function from kernel 4.6.7
that supports the ecc layout struture and replaces the mtd_set_ooblayout
method

Signed-off-by: William Zhang <william.zhang@broadcom.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
2019-10-25 17:20:43 +02:00
..
2019-05-21 08:03:38 +02:00
2019-10-18 14:26:59 +02:00
2019-08-11 16:43:41 -04:00
2019-05-18 08:15:35 -04:00
2019-08-11 16:43:41 -04:00
2019-10-14 09:31:41 +02:00
2019-08-11 16:43:41 -04:00
2019-08-07 15:31:04 -04:00
2019-07-19 20:14:50 +02:00
2019-09-19 12:18:53 -04:00
2019-05-24 10:14:10 -07:00
2019-10-15 08:40:02 -06:00
2019-08-11 16:43:41 -04:00
2019-07-19 15:17:05 +02:00