mtd: spinand: Sync core code and device support with Linux 6.10
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Tue, 30 Sep 2025 00:20:55 +0000 (03:20 +0300)
committerMichael Trimarchi <michael@amarulasolutions.com>
Sun, 5 Oct 2025 18:26:03 +0000 (20:26 +0200)
commit2a0f8e7da0e5db93df8d48c5aab05037e071ca1e
tree3e36cbb1caf16dc092253e215b4ecce37c2ddb63
parente644bb73dac9eef331978ca9a3e6046b5a24d62b
mtd: spinand: Sync core code and device support with Linux 6.10

This makes the U-Boot SPI NAND driver almost the same as in Linux 6.10.
The only major difference is support of ECC engines. The Linux driver
supports different ECC engines while U-Boot uses on-die ECC only.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
13 files changed:
drivers/mtd/nand/spi/Makefile
drivers/mtd/nand/spi/alliancememory.c [new file with mode: 0644]
drivers/mtd/nand/spi/ato.c [new file with mode: 0644]
drivers/mtd/nand/spi/core.c
drivers/mtd/nand/spi/esmt.c
drivers/mtd/nand/spi/foresee.c [new file with mode: 0644]
drivers/mtd/nand/spi/gigadevice.c
drivers/mtd/nand/spi/macronix.c
drivers/mtd/nand/spi/micron.c
drivers/mtd/nand/spi/toshiba.c
drivers/mtd/nand/spi/winbond.c
include/linux/mtd/nand.h
include/linux/mtd/spinand.h