xref: /OK3568_Linux_fs/device/rockchip/common/configs/Config.in.pcba (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2
3comment "PCBA depends on linux kernel"
4	depends on RK_KERNEL_CFG = ""
5
6if RK_KERNEL_CFG != ""
7
8menu "PCBA test (buildroot)"
9
10config RK_PCBA_BASE_CFG
11	string "buildroot PCBA base cfg (rockchip_<cfg>_pcba_defconfig)"
12	default "px30" if RK_CHIP_FAMILY = "rk3358"
13	default RK_CHIP if RK_CHIP = "rk3126c" || RK_CHIP = "rk3128" || \
14		RK_CHIP_FAMILY = "rk3566_rk3568"
15	default RK_CHIP_FAMILY
16	help
17	  Base name of buildroot defconfig for PCBA.
18	  Set "" for no PCBA.
19
20if RK_PCBA_BASE_CFG != ""
21
22config RK_PCBA_CFG
23	string
24	default "${RK_PCBA_BASE_CFG}_pcba" if RK_CHIP_FAMILY = "OK3568"
25	default "rockchip_${RK_PCBA_BASE_CFG}_pcba"
26
27endif
28
29endmenu # PCBA
30
31endif
32