]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commite051d4e9d7eeb694dbee9b0de1a9661406166e51
tree0472854a2d293f1dfb7210e493706946583ac8d6
parent48f45fd0f8fff0ffda70b61bd7fea5f4e097c8e5
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