[openwrt/openwrt] kernel: Disable CPU_THERMAL by default

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 17 22:14:56 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5288ee33e9af97e49378343d68bda9f58c130cd7

commit 5288ee33e9af97e49378343d68bda9f58c130cd7
Author: Linus Walleij <linus.walleij at linaro.org>
AuthorDate: Wed Apr 14 10:45:06 2021 +0200

    kernel: Disable CPU_THERMAL by default
    
    This config is for platforms that have:
    A) CONFIG_THERMAL set (we disable it by default)
    B) Has thermal zones that need to control cpufreq
    
    This is not suitable for default config, it needs to be enabled
    on a per-target basis in individual configs.
    
    Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 target/linux/generic/config-5.10 | 1 +
 target/linux/oxnas/config-5.10   | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index 43d412e3a5..a50195b989 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -979,6 +979,7 @@ CONFIG_CONSTRUCTORS=y
 CONFIG_CPU_LITTLE_ENDIAN=y
 # CONFIG_CPU_NO_EFFICIENT_FFS is not set
 CONFIG_CPU_SW_DOMAIN_PAN=y
+# CONFIG_CPU_THERMAL is not set
 # CONFIG_CRAMFS is not set
 CONFIG_CRAMFS_BLOCKDEV=y
 # CONFIG_CRAMFS_MTD is not set
diff --git a/target/linux/oxnas/config-5.10 b/target/linux/oxnas/config-5.10
index f5d782e9bb..f356b305ca 100644
--- a/target/linux/oxnas/config-5.10
+++ b/target/linux/oxnas/config-5.10
@@ -100,7 +100,6 @@ CONFIG_CPU_PABRT_LEGACY=y
 CONFIG_CPU_PM=y
 CONFIG_CPU_THUMB_CAPABLE=y
 CONFIG_CPU_TLB_V4WBI=y
-# CONFIG_CPU_THERMAL is not set
 CONFIG_CPU_USE_DOMAINS=y
 CONFIG_CRASH_CORE=y
 CONFIG_CRC16=y



More information about the lede-commits mailing list