mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
crypto: rockchip: Kconfig: Fix depends on CPU config
Before: default y if CPU_XXXX After: depends on CPU_XXX default y When a CPU_XXXX config is not selected, the config will be automatically deselected. Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: If10a37e81221ddd69a32e528c2642d8b0065b309
This commit is contained in:
@@ -3,15 +3,18 @@ if CRYPTO_DEV_ROCKCHIP
|
||||
|
||||
config CRYPTO_DEV_ROCKCHIP_V1
|
||||
bool "crypto v1 for RV1108 RK3288 RK3368 RK3399"
|
||||
default y if CPU_RV1108 || CPU_RK3288 || CPU_RK3368 || CPU_RK3399
|
||||
depends on CPU_RV1108 || CPU_RK3288 || CPU_RK3368 || CPU_RK3399
|
||||
default y
|
||||
|
||||
config CRYPTO_DEV_ROCKCHIP_V2
|
||||
bool "crypto v2 for RV1109/RV1126 RK1808 RK3308 PX30/RK3326 RK356X RK3588"
|
||||
default y if CPU_RV1126 || CPU_RK1808 || CPU_RK3308 || CPU_PX30 || CPU_RK3568 || CPU_RK3588
|
||||
depends on CPU_RV1126 || CPU_RK1808 || CPU_RK3308 || CPU_PX30 || CPU_RK3568 || CPU_RK3588
|
||||
default y
|
||||
|
||||
config CRYPTO_DEV_ROCKCHIP_V3
|
||||
bool "crypto v3/v4 for RV1106/RK3528/RK3562/RK3576"
|
||||
default y if CPU_RV1106 || CPU_RK3528 || CPU_RK3562 || CPU_RK3576
|
||||
depends on CPU_RV1106 || CPU_RK3528 || CPU_RK3562 || CPU_RK3576
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user