mtd: rawnand: denali_dt: use UCLASS_MTD instead of UCLASS_MISC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 30 Jan 2020 13:07:59 +0000 (22:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 31 Jan 2020 16:14:32 +0000 (01:14 +0900)
commit407b01b3b3f548d951b3c35a40bb49bb82f31748
tree0472854a2d293f1dfb7210e493706946583ac8d6
parent5bacb4402e338e856410ed841ae9bd85171b5022
mtd: rawnand: denali_dt: use UCLASS_MTD instead of UCLASS_MISC

UCLASS_MTD is a better fit for NAND drivers.

Make NAND_DENALI_DT depend on DM_MTD, which is needed to compile
drivers/mtd/mtd-uclass.c

Also, make ARCH_UNIPHIER select DM_MTD because all the defconfig
of this platform enables NAND_DENALI_DT.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
arch/arm/Kconfig
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/denali_dt.c