mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
rk: Kconfig add RK3168 support, add SOC_RK3168 config, add RK3168 TB config
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user