u-boot-brain/drivers/mtd
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
..
nand drivers: nand: brcmnand: fix nand_chip ecc layout structure 2019-10-25 17:20:43 +02:00
onenand mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing 2018-09-20 20:10:49 +05:30
spi spl: Allow tiny printf() to be controlled in SPL and TPL 2019-10-08 13:57:45 +08:00
ubi ubi: Print skip_check in ubi_dump_vol_info() 2019-10-16 05:42:27 +02:00
ubispl ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG 2019-07-09 07:00:26 +02:00
altera_qspi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cfi_flash.c mtd: cfi_flash: Use CONFIG_SYS_MONITOR_BASE only when defined 2019-10-24 09:48:53 +02:00
cfi_mtd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hbmc-am654.c mtd: Add TI HyperBus Memory Controller driver 2019-10-24 09:49:10 +02:00
jedec_flash.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
Kconfig mtd: Add TI HyperBus Memory Controller driver 2019-10-24 09:49:10 +02:00
Makefile mtd: Add TI HyperBus Memory Controller driver 2019-10-24 09:49:10 +02:00
mtd_uboot.c env: Move env_get_f() to env.h 2019-08-11 16:43:41 -04:00
mtd-uclass.c mtd: uclass: add probe function 2018-10-02 22:12:31 +05:30
mtdconcat.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mtdcore.c mtd: fix Coverity integer handling issue 2019-04-12 10:59:17 +05:30
mtdcore.h mtd: move definitions to enlarge their range 2018-09-20 20:10:49 +05:30
mtdpart.c mtd: Don't stop MTD partition creation when it fails on one device 2018-12-06 00:45:36 +05:30
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00
pic32_flash.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
renesas_rpc_hf.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
st_smi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_flash.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_flash.h stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00