drm/rockchip: 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: I380b2158def41949086ceb49133e5f905c4e17e6
This commit is contained in:
Tao Huang
2024-03-06 16:24:11 +08:00
parent 5e4982a533
commit 08d30da26b

View File

@@ -44,11 +44,11 @@ config ROCKCHIP_DRM_SELF_TEST
config ROCKCHIP_VOP
bool "Rockchip VOP driver"
default y if (CPU_RK3036 || CPU_RK30XX || CPU_RK312X || \
CPU_PX30 || CPU_RK3308 || CPU_RV1106 || \
CPU_RV1126 || CPU_RK3288 || CPU_RK3368 || \
CPU_RK3399 || CPU_RK322X || CPU_RK3328) && \
!ROCKCHIP_MINI_KERNEL
depends on CPU_RK3036 || CPU_RK30XX || CPU_RK312X || \
CPU_PX30 || CPU_RK3308 || CPU_RV1106 || \
CPU_RV1126 || CPU_RK3288 || CPU_RK3368 || \
CPU_RK3399 || CPU_RK322X || CPU_RK3328
default y if !ROCKCHIP_MINI_KERNEL
help
This selects support for the VOP driver. You should enable it
on older SoCs.