From 0d7a869c903bb298aa7ac60a85c75a2fe23b2ff0 Mon Sep 17 00:00:00 2001 From: Nyanmisaka Date: Sun, 15 Dec 2024 16:46:12 +0800 Subject: [PATCH] soc: rockchip: Kconfig: disable ROCKCHIP_THUNDER_BOOT* by default `ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK` should depend on `ROCKCHIP_THUNDER_BOOT`, and it creates an artificial threads-max limit that is not suitable for generic linux. Disable it by default to avoid it being accidentally enabled. Signed-off-by: nyanmisaka --- drivers/soc/rockchip/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index e126daa6fafe9..f7cc97b6f8731 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -276,6 +276,7 @@ endif config ROCKCHIP_THUNDER_BOOT bool "Rockchip Thunder Boot support" + default n depends on NO_GKI select ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK if SMP help @@ -284,6 +285,7 @@ config ROCKCHIP_THUNDER_BOOT config ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK bool "Defer free large memblock to Buddy allocator" + depends on ROCKCHIP_THUNDER_BOOT depends on SMP depends on NO_GKI help