soc: rockchip: add CPU_XXX config

For build kernel only support the given CPU.

Change-Id: I3d4790779d0ad0ecff6661ffb0b70e2df287fd5a
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2018-03-09 20:10:52 +08:00
parent 3430c68a33
commit e3ffa5e5db
2 changed files with 65 additions and 0 deletions

View File

@ -1,5 +1,7 @@
if ARCH_ROCKCHIP || COMPILE_TEST
source "drivers/soc/rockchip/Kconfig.cpu"
#
# Rockchip Soc drivers
#

View File

@ -0,0 +1,63 @@
# SPDX-License-Identifier: GPL-2.0
menu "CPU selection"
depends on ARCH_ROCKCHIP && ARM
config CPU_RK312X
bool "RK3126/8"
default y
config CPU_RK3036
bool "RK3036"
default y
config CPU_RK30XX
bool "RK3066/8"
default y
config CPU_RK3188
bool "RK3188"
default y
config CPU_RK3288
bool "RK3288"
default y
config CPU_RK322X
bool "RK3228/9"
default y
config CPU_RV110X
bool "RV1107/8"
default y
endmenu
menu "CPU selection"
depends on ARCH_ROCKCHIP && ARM64
config CPU_PX30
bool "PX30"
default y
config CPU_RK3308
bool "RK3308"
default y
config CPU_RK3328
bool "RK3328"
default y
config CPU_RK3366
bool "RK3366"
default y
config CPU_RK3368
bool "RK3368"
default y
config CPU_RK3399
bool "RK3399"
default y
endmenu