Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0
if CONFIG_RALINK

config CONFIG_CLKEVT_RT3352
	bool
	depends on CONFIG_SOC_RT305X || CONFIG_SOC_MT7620
	default y
	select CONFIG_TIMER_OF
	select CONFIG_CLKSRC_MMIO

config CONFIG_RALINK_ILL_ACC
	bool
	depends on CONFIG_SOC_RT305X
	default y

config CONFIG_IRQ_INTC
	bool
	default y
	depends on !CONFIG_SOC_MT7621

choice
	prompt "Ralink SoC selection"
	default CONFIG_SOC_RT305X
	help
	  Select Ralink CONFIG_MIPS SoC type.

	config CONFIG_SOC_RT288X
		bool "RT288x"
		select CONFIG_MIPS_L1_CACHE_SHIFT_4
		select CONFIG_HAVE_PCI

	config CONFIG_SOC_RT305X
		bool "RT305x"

	config CONFIG_SOC_RT3883
		bool "RT3883"
		select CONFIG_HAVE_PCI

	config CONFIG_SOC_MT7620
		bool "MT7620/8"
		select CONFIG_CPU_MIPSR2_IRQ_VI
		select CONFIG_HAVE_PCI

	config CONFIG_SOC_MT7621
		bool "MT7621"
		select CONFIG_MIPS_CPU_SCACHE
		select CONFIG_SYS_SUPPORTS_MULTITHREADING
		select CONFIG_SYS_SUPPORTS_SMP
		select CONFIG_SYS_SUPPORTS_MIPS_CPS
		select CONFIG_SYS_SUPPORTS_HIGHMEM
		select CONFIG_MIPS_GIC
		select CONFIG_COMMON_CLK
		select CONFIG_CLKSRC_MIPS_GIC
endchoice

choice
	prompt "Devicetree selection"
	default CONFIG_DTB_RT_NONE
	help
	  Select the devicetree.

	config CONFIG_DTB_RT_NONE
		bool "None"

	config CONFIG_DTB_RT2880_EVAL
		bool "RT2880 eval kit"
		depends on CONFIG_SOC_RT288X
		select CONFIG_BUILTIN_DTB

	config CONFIG_DTB_RT305X_EVAL
		bool "RT305x eval kit"
		depends on CONFIG_SOC_RT305X
		select CONFIG_BUILTIN_DTB

	config CONFIG_DTB_RT3883_EVAL
		bool "RT3883 eval kit"
		depends on CONFIG_SOC_RT3883
		select CONFIG_BUILTIN_DTB

	config CONFIG_DTB_MT7620A_EVAL
		bool "MT7620A eval kit"
		depends on CONFIG_SOC_MT7620
		select CONFIG_BUILTIN_DTB

	config CONFIG_DTB_OMEGA2P
		bool "Onion Omega2+"
		depends on CONFIG_SOC_MT7620
		select CONFIG_BUILTIN_DTB

	config CONFIG_DTB_VOCORE2
		bool "VoCore2"
		depends on CONFIG_SOC_MT7620
		select CONFIG_BUILTIN_DTB

endchoice

endif