diff mbox series

[v11,19/27] MIPS: Kconfig: Select TCU timer driver when MACH_INGENIC is set

Message ID 20190327231631.15708-20-paul@crapouillou.net (mailing list archive)
State Not Applicable
Headers show
Series Ingenic JZ47xx TCU pachset v11 | expand

Commit Message

Paul Cercueil March 27, 2019, 11:16 p.m. UTC
We cannot boot to userspace (not even initramfs) if the timer driver is
not present; so it makes sense to enable it unconditionally when
MACH_INGENIC is set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Mathieu Malaterre <malat@debian.org>
Tested-by: Artur Rojek <contact@artur-rojek.eu>
---
 arch/mips/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 4a5f5b0ee9a9..eca480d43d93 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -393,6 +393,7 @@  config MACH_INGENIC
 	select BUILTIN_DTB if MIPS_NO_APPENDED_DTB
 	select USE_OF
 	select LIBFDT
+	select INGENIC_TIMER
 
 config LANTIQ
 	bool "Lantiq based platforms"