u-boot/drivers/mtd/nand/spi
Haolin Li b2be695166 mtd: spinand: macronix: Fix ECC Status Read
According to datasheet, the upper four bits are reserved or used for
reflecting the ECC status of the accumulated pages. The error bits
number for the worst segment of the current page is encoded on lower
four bits. Fix it by masking the upper bits.

This same issue has been already fixed in the linux kernel by:
"mtd: spinand: macronix: Fix ECC Status Read"
(sha1: f4cb4d7b46f6409382fd981eec9556e1f3c1dc5d)

Apply the same fix in the U-Boot driver.

Signed-off-by: Haolin Li <li.haolin@qq.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2021-10-08 17:59:34 +05:30
..
core.c mtd: spinand: Add WATCHDOG_RESET() in spinand_mtd_read/write() 2021-03-11 17:00:41 +01:00
gigadevice.c mtd: nand: spi: Support GigaDevice GD5F1GQ5UExxG 2021-02-26 16:01:37 +05:30
Kconfig mtd: rename CONFIG_MTD -> CONFIG_DM_MTD 2019-12-03 23:04:10 -05:00
macronix.c mtd: spinand: macronix: Fix ECC Status Read 2021-10-08 17:59:34 +05:30
Makefile mtd: spi-nand: Import Toshiba SPI-NAND support 2020-04-29 01:44:35 +05:30
micron.c mtd: spinand: micron: Add new Micron SPI NAND devices with multiple dies 2020-07-20 22:29:18 +05:30
toshiba.c mtd: spinand: toshiba: Support for new Kioxia Serial NAND 2020-05-28 01:24:03 +05:30
winbond.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00