mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 22:03:22 +09:00
e365de9051
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> |
||
---|---|---|
.. | ||
brcmnand | ||
am335x_spl_bch.c | ||
arasan_nfc.c | ||
atmel_nand_ecc.h | ||
atmel_nand.c | ||
davinci_nand.c | ||
denali_dt.c | ||
denali_spl.c | ||
denali.c | ||
denali.h | ||
fsl_elbc_nand.c | ||
fsl_elbc_spl.c | ||
fsl_ifc_nand.c | ||
fsl_ifc_spl.c | ||
fsl_upm.c | ||
fsmc_nand.c | ||
kb9202_nand.c | ||
Kconfig | ||
kirkwood_nand.c | ||
kmeter1_nand.c | ||
lpc32xx_nand_mlc.c | ||
lpc32xx_nand_slc.c | ||
Makefile | ||
mxc_nand_spl.c | ||
mxc_nand.c | ||
mxc_nand.h | ||
mxs_nand_dt.c | ||
mxs_nand_spl.c | ||
mxs_nand.c | ||
nand_base.c | ||
nand_bbt.c | ||
nand_bch.c | ||
nand_ecc.c | ||
nand_ids.c | ||
nand_plat.c | ||
nand_spl_load.c | ||
nand_spl_loaders.c | ||
nand_spl_simple.c | ||
nand_timings.c | ||
nand_util.c | ||
nand.c | ||
omap_elm.c | ||
omap_gpmc.c | ||
pxa3xx_nand.c | ||
pxa3xx_nand.h | ||
stm32_fmc2_nand.c | ||
sunxi_nand_spl.c | ||
sunxi_nand.c | ||
tegra_nand.c | ||
tegra_nand.h | ||
vf610_nfc.c | ||
zynq_nand.c |