From: Linus Walleij Date: Wed, 14 Apr 2021 08:45:06 +0000 (+0200) Subject: kernel: Disable CPU_THERMAL by default X-Git-Tag: v22.03.0-rc1~2753 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=5288ee33e9af97e49378343d68bda9f58c130cd7;p=openwrt%2Fopenwrt.git 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 --- 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