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

From: Paul Cercueil
Date: Wed Mar 27 2019 - 19:18:53 EST


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@xxxxxxxxxxxxxxx>
Tested-by: Mathieu Malaterre <malat@xxxxxxxxxx>
Tested-by: Artur Rojek <contact@xxxxxxxxxxxxxx>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)

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"
--
2.11.0