aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2020-01-30 22:07:59 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2020-02-01 01:14:32 +0900
commit407b01b3b3f548d951b3c35a40bb49bb82f31748 (patch)
tree0472854a2d293f1dfb7210e493706946583ac8d6 /arch
parent5bacb4402e338e856410ed841ae9bd85171b5022 (diff)
downloadu-boot-407b01b3b3f548d951b3c35a40bb49bb82f31748.zip
u-boot-407b01b3b3f548d951b3c35a40bb49bb82f31748.tar.gz
u-boot-407b01b3b3f548d951b3c35a40bb49bb82f31748.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1236315..f04b6a6 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1548,6 +1548,7 @@ config ARCH_UNIPHIER
select DM_GPIO
select DM_I2C
select DM_MMC
+ select DM_MTD
select DM_RESET
select DM_SERIAL
select DM_USB