forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mediatek: mt7623 enable arch-timer with a patch
Last attempt on this has a typo and doen't work. It seems that this is a common problem occurring on every kernel bump, so let's enforce arch timer support for mt7623 with a patch instead. Fixes: 9a22943 ("mediatek: 5.15: re-enable arch timer on MT7623 as well") Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
- Loading branch information
Showing
2 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From d6a596012150960f0f3a214d31bbac4b607dbd1e Mon Sep 17 00:00:00 2001 | ||
From: Chuanhong Guo <gch981213@gmail.com> | ||
Date: Fri, 29 Apr 2022 10:40:56 +0800 | ||
Subject: [PATCH] arm: mediatek: select arch timer for mt7623 | ||
|
||
Signed-off-by: Chuanhong Guo <gch981213@gmail.com> | ||
--- | ||
arch/arm/mach-mediatek/Kconfig | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig | ||
index 35a3430c7942..8a8d9142260a 100644 | ||
--- a/arch/arm/mach-mediatek/Kconfig | ||
+++ b/arch/arm/mach-mediatek/Kconfig | ||
@@ -26,6 +26,7 @@ config MACH_MT6592 | ||
config MACH_MT7623 | ||
bool "MediaTek MT7623 SoCs support" | ||
default ARCH_MEDIATEK | ||
+ select HAVE_ARM_ARCH_TIMER | ||
|
||
config MACH_MT7629 | ||
bool "MediaTek MT7629 SoCs support" | ||
-- | ||
2.35.1 | ||
|