From e206b5da7a28a748066e01d0cf3c9f4a473e7004 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 6 Dec 2012 16:27:20 +0800 Subject: [PATCH] rk: Kconfig add RK3168 support, add SOC_RK3168 config, add RK3168 TB config --- arch/arm/mach-rk30/Kconfig | 14 ++++++++++++++ arch/arm/mach-rk30/Makefile | 1 + arch/arm/plat-rk/include/plat/cpu.h | 1 + 3 files changed, 16 insertions(+) diff --git a/arch/arm/mach-rk30/Kconfig b/arch/arm/mach-rk30/Kconfig index 4b3e38644d64..91ba4570446f 100755 --- a/arch/arm/mach-rk30/Kconfig +++ b/arch/arm/mach-rk30/Kconfig @@ -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 diff --git a/arch/arm/mach-rk30/Makefile b/arch/arm/mach-rk30/Makefile index e3775078b630..27dd7b6b8205 100755 --- a/arch/arm/mach-rk30/Makefile +++ b/arch/arm/mach-rk30/Makefile @@ -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 diff --git a/arch/arm/plat-rk/include/plat/cpu.h b/arch/arm/plat-rk/include/plat/cpu.h index a027c96bfd93..085035afb72e 100644 --- a/arch/arm/plat-rk/include/plat/cpu.h +++ b/arch/arm/plat-rk/include/plat/cpu.h @@ -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 -- 2.34.1