Skip to content

Commit e324f7c

Browse files
grygoriySolofj
authored andcommitted
ARM: keystone: config: fix build warning when CONFIG_DMADEVICES is not set
Drop automatic selection of TI_EDMA from Keystone Kconfig file, as it produces build warning in case if CONFIG_DMADEVICES is not set: warning: (ARCH_KEYSTONE) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE)) Instead enable TI EDMA support from defconfig. Reported-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent f8505ef commit e324f7c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/arm/configs/keystone_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ CONFIG_USB_DWC3_DEBUG=y
142142
CONFIG_USB_DWC3_VERBOSE=y
143143
CONFIG_KEYSTONE_USB_PHY=y
144144
CONFIG_DMADEVICES=y
145+
CONFIG_TI_EDMA=y
145146
CONFIG_COMMON_CLK_DEBUG=y
146147
CONFIG_MEMORY=y
147148
CONFIG_EXT4_FS=y

arch/arm/mach-keystone/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config ARCH_KEYSTONE
1010
select ARCH_WANT_OPTIONAL_GPIOLIB
1111
select ARM_ERRATA_798181 if SMP
1212
select COMMON_CLK_KEYSTONE
13-
select TI_EDMA
1413
select ARCH_SUPPORTS_BIG_ENDIAN
1514
select ZONE_DMA if ARM_LPAE
1615
help

0 commit comments

Comments
 (0)