rockchip: fixup board choice in Kconfig

Kconfig for board target select is choice option, fixup for
rk3036, rk3288 and rv1108.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Kever Yang 2019-07-09 22:14:15 +08:00
parent c8851c9d18
commit 5e283876f1
3 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,8 @@
if ROCKCHIP_RK3036 if ROCKCHIP_RK3036
choice
prompt "RK3036 board select"
config TARGET_EVB_RK3036 config TARGET_EVB_RK3036
bool "EVB_RK3036" bool "EVB_RK3036"
select BOARD_LATE_INIT select BOARD_LATE_INIT
@ -8,6 +11,8 @@ config TARGET_KYLIN_RK3036
bool "KYLIN_RK3036" bool "KYLIN_RK3036"
select BOARD_LATE_INIT select BOARD_LATE_INIT
endchoice
config SYS_SOC config SYS_SOC
default "rk3036" default "rk3036"

View File

@ -1,5 +1,8 @@
if ROCKCHIP_RK3288 if ROCKCHIP_RK3288
choice
prompt "RK3288 board select"
config TARGET_CHROMEBOOK_JERRY config TARGET_CHROMEBOOK_JERRY
bool "Google/Rockchip Veyron-Jerry Chromebook" bool "Google/Rockchip Veyron-Jerry Chromebook"
select BOARD_LATE_INIT select BOARD_LATE_INIT
@ -125,6 +128,8 @@ config TARGET_TINKER_RK3288
8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to 8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to
I2C, SPI, UART, GPIOs. I2C, SPI, UART, GPIOs.
endchoice
config ROCKCHIP_FAST_SPL config ROCKCHIP_FAST_SPL
bool "Change the CPU to full speed in SPL" bool "Change the CPU to full speed in SPL"
depends on TARGET_CHROMEBOOK_JERRY depends on TARGET_CHROMEBOOK_JERRY

View File

@ -1,5 +1,8 @@
if ROCKCHIP_RV1108 if ROCKCHIP_RV1108
choice
prompt "RV1108 board select"
config TARGET_EVB_RV1108 config TARGET_EVB_RV1108
bool "EVB_RV1108" bool "EVB_RV1108"
help help
@ -22,6 +25,8 @@ config TARGET_ELGIN_RV1108
help help
RV1108 ELGIN is a board based on the Rockchip RV1108. RV1108 ELGIN is a board based on the Rockchip RV1108.
endchoice
config SYS_SOC config SYS_SOC
default "rv1108" default "rv1108"