Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: mediatek: select arch timer for mt7629

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>

authored by

Chuanhong Guo and committed by
Matthias Brugger
d66aea19 e5bf06b1

+1
+1
arch/arm/mach-mediatek/Kconfig
··· 30 30 config MACH_MT7629 31 31 bool "MediaTek MT7629 SoCs support" 32 32 default ARCH_MEDIATEK 33 + select HAVE_ARM_ARCH_TIMER 33 34 34 35 config MACH_MT8127 35 36 bool "MediaTek MT8127 SoCs support"