rk: Kconfig add rk3108 support and add SOC_RKXXXX config

This commit is contained in:
黄涛
2012-10-22 10:55:33 +08:00
parent 0cde7717db
commit e25f472d86
2 changed files with 42 additions and 11 deletions

View File

@@ -883,7 +883,7 @@ config ARCH_RK2928
Support for Rockchip's RK2928 SoCs.
config ARCH_RK30
bool "Rockchip RK30xx"
bool "Rockchip RK30xx/RK31xx"
select PLAT_RK
select CPU_V7
select ARM_GIC
@@ -893,7 +893,7 @@ config ARCH_RK30
select ARM_ERRATA_764369
select ARM_ERRATA_754322
help
Support for Rockchip's RK30xx SoCs.
Support for Rockchip's RK30xx/RK31xx SoCs.
config PLAT_SPEAR
bool "ST SPEAr"

View File

@@ -1,14 +1,36 @@
if ARCH_RK30
config ARCH_RK3066B
bool "Rockchip RK3066B"
help
Support for Rockchip's RK3066B SoCs.
config ARCH_RK30XX
bool
default y
depends on !ARCH_RK3066B
config ARCH_RK3066B
bool
choice
prompt "Rockchip SoC Type"
default SOC_RK3066
config SOC_RK3000
bool "RK3000"
select ARCH_RK30XX
config SOC_RK3066
bool "RK3066"
select ARCH_RK30XX
config SOC_RK3068
bool "RK3068"
select ARCH_RK30XX
config SOC_RK3066B
bool "RK3066B"
select ARCH_RK3066B
config SOC_RK3108
bool "RK3108"
select ARCH_RK3066B
endchoice
if ARCH_RK30XX
@@ -55,8 +77,7 @@ endif
endif
if ARCH_RK3066B
if SOC_RK3066B
choice
prompt "RK3066B Board Type"
@@ -66,11 +87,21 @@ config MACH_RK3066B_FPGA
config MACH_RK3066B_SDK
bool "RK3066B SDK board"
config MACH_RK3066B_M701
bool "RK3066B M701 board"
endchoice
endif
if SOC_RK3108
choice
prompt "RK3108 Board Type"
config MACH_RK3108_TB
bool "RK3108 Top Board"
endchoice
endif
endif