arm: mediatek: select arch timer for mt7629
authorChuanhong Guo <gch981213@gmail.com>
Sat, 9 Apr 2022 09:13:47 +0000 (17:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:23:07 +0000 (10:23 +0200)
[ Upstream commit d66aea197d534e23d4989eb72fca9c0c114b97c9 ]

This chip has an armv7 arch timer according to the dts. Select it in
Kconfig to enforce the support for it.
Otherwise the system time is just completely wrong if user forget to
enable ARM_ARCH_TIMER in kernel config.

Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Link: https://lore.kernel.org/r/20220409091347.2473449-1-gch981213@gmail.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-mediatek/Kconfig

index 9e0f592d87d8eb36d6cdabc3c5b8705961061a93..35a3430c7942d897106bb32916df78347113798a 100644 (file)
@@ -30,6 +30,7 @@ config MACH_MT7623
 config MACH_MT7629
        bool "MediaTek MT7629 SoCs support"
        default ARCH_MEDIATEK
+       select HAVE_ARM_ARCH_TIMER
 
 config MACH_MT8127
        bool "MediaTek MT8127 SoCs support"