From 48ebf1d9b2795eae0287d353d3f3f28902b2d127 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 8 May 2020 08:25:26 +0200 Subject: drivers: explicitly select dependency STMP_DEVICE for i.MX23/28 drivers Some of the i.MXs drivers can be build tested even if building for other platforms. Support adding a future COMPILE_TEST dependency to some of these drivers by explicitly having their Kconfig symbol select STMP_DEVICE if the driver calls stmp_reset_block. This has not been necessary for the normal build, because the ARCH symbols for the IMX23 and IMX28 already selected STMP_DEVICE. Signed-off-by: Ahmad Fatoum Signed-off-by: Sascha Hauer --- drivers/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/serial') diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index bd02fe2137..14cd430ee4 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -48,6 +48,7 @@ config DRIVER_SERIAL_STM378X config DRIVER_SERIAL_AUART depends on ARCH_MXS + select STMP_DEVICE bool "i.MX23/i.MX28 application UART serial driver" config DRIVER_SERIAL_LINUX_CONSOLE -- cgit v1.2.3