mtd: ts72xx_nand: add platfrom helper
authorNikita Shubin <nikita.shubin@maquefel.me>
Thu, 10 Jun 2021 07:49:59 +0000 (10:49 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Sun, 27 Nov 2022 09:19:51 +0000 (12:19 +0300)
commitd57eee9de7aee57c7592f4e7506ad08d706133d1
tree62a15ceb16eb6d6bb62dff7eda62f364fbad4112
parent406bf27cb0c9102d41f5978f11dff0b6f485339b
mtd: ts72xx_nand: add platfrom helper

The only purpose of this code to provide platform_nand_data to gen_nand
driver which requires .cmd_ctrl and .dev_ready.

TODO: maybe it hsould be moved inside board-dt.c file.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/Makefile
drivers/mtd/nand/raw/ts72xx_nand.c [new file with mode: 0644]