Skip to content

Commit

Permalink
soc: rockchip: Kconfig: disable ROCKCHIP_THUNDER_BOOT* by default
Browse files Browse the repository at this point in the history
`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 <[email protected]>
  • Loading branch information
nyanmisaka authored and amazingfate committed Dec 15, 2024
1 parent d0d0430 commit 0d7a869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/soc/rockchip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0d7a869

Please sign in to comment.