Hello everyone, while working on NAND flash support for a custom board based on the at91 SAM9X60 SoC I stumbled over some issues in the raw nand subsystem. First three patches are minor fixes. Fourth patch is introducing a new subcommand for the new atmel nand controller driver, which helped me a lot when investigating issues.
Series is based on upstream next branch, but should also apply to master cleanly. Greets Alex Alexander Dahl (4): mtd: nand: raw: Use macro nand_to_mtd() where appropriate mtd: nand: raw: Port another option flag from Linux mtd: nand: raw: Fix (most) Kconfig indentation mtd: nand: raw: atmel: Introduce optional debug commands drivers/mtd/nand/raw/Kconfig | 115 +++++---- drivers/mtd/nand/raw/atmel/nand-controller.c | 251 ++++++++++++++++++- drivers/mtd/nand/raw/nand_base.c | 6 +- include/linux/mtd/rawnand.h | 7 + 4 files changed, 321 insertions(+), 58 deletions(-) base-commit: 6eb682bc7ea398fad4aadb612c690884e73edc03 -- 2.39.2