rk: Kconfig add RK3168 support, add SOC_RK3168 config, add RK3168 TB config

This commit is contained in:
黄涛
2012-12-06 16:27:20 +08:00
parent 02398c3f7e
commit e206b5da7a
3 changed files with 16 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ config SOC_RK3108
bool "RK3108"
select ARCH_RK3066B
config SOC_RK3168
bool "RK3168"
select ARCH_RK3066B
endchoice
if ARCH_RK30XX
@@ -104,4 +108,14 @@ config MACH_RK3108_TB
endchoice
endif
if SOC_RK3168
choice
prompt "RK3168 Board Type"
config MACH_RK3168_TB
bool "RK3168 Top Board"
endchoice
endif
endif

View File

@@ -38,3 +38,4 @@ obj-$(CONFIG_MACH_RK3066B_FPGA) += board-rk3066b-fpga.o
obj-$(CONFIG_MACH_RK3066B_SDK) += board-rk3066b-sdk.o
obj-$(CONFIG_MACH_RK3066B_M701) += board-rk3066b-m701.o
obj-$(CONFIG_MACH_RK3108_TB) += board-rk3108-tb.o
obj-$(CONFIG_MACH_RK3168_TB) += board-rk3168-tb.o

View File

@@ -44,5 +44,6 @@ static inline bool soc_is_rk3108(void)
static inline bool soc_is_rk3066b(void) { return false; }
static inline bool soc_is_rk3108(void) { return false; }
#endif
static inline bool soc_is_rk3168(void) { return soc_is_rk3108(); }
#endif