media: rockchip: ispp: 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: I95bbc481b6747d82637167b0f2b057732eb7112e
This commit is contained in:
Tao Huang
2024-03-06 16:47:59 +08:00
parent b5acbb2a19
commit 05887d05c8

View File

@@ -22,10 +22,12 @@ if VIDEO_ROCKCHIP_ISPP
config VIDEO_ROCKCHIP_ISPP_VERSION_V10
bool "ispp10 for rv1126 and rv1109"
default y if CPU_RV1126
depends on CPU_RV1126
default y
config VIDEO_ROCKCHIP_ISPP_VERSION_V20
bool "ispp20 for rk3588"
default y if CPU_RK3588
depends on CPU_RK3588
default y
endif