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

if CONFIG_MACH_LOONGSON32

choice
	prompt "Machine Type"

config CONFIG_LOONGSON1_LS1B
	bool "Loongson LS1B board"
	select CONFIG_CEVT_R4K if !CONFIG_MIPS_EXTERNAL_TIMER
	select CONFIG_CSRC_R4K if !CONFIG_MIPS_EXTERNAL_TIMER
	select CONFIG_SYS_HAS_CPU_LOONGSON1B
	select CONFIG_DMA_NONCOHERENT
	select CONFIG_BOOT_ELF32
	select CONFIG_IRQ_MIPS_CPU
	select CONFIG_SYS_SUPPORTS_32BIT_KERNEL
	select CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN
	select CONFIG_SYS_SUPPORTS_HIGHMEM
	select CONFIG_SYS_SUPPORTS_MIPS16
	select CONFIG_SYS_HAS_EARLY_PRINTK
	select CONFIG_USE_GENERIC_EARLY_PRINTK_8250
	select CONFIG_COMMON_CLK

config CONFIG_LOONGSON1_LS1C
	bool "Loongson LS1C board"
	select CONFIG_CEVT_R4K if !CONFIG_MIPS_EXTERNAL_TIMER
	select CONFIG_CSRC_R4K if !CONFIG_MIPS_EXTERNAL_TIMER
	select CONFIG_SYS_HAS_CPU_LOONGSON1C
	select CONFIG_DMA_NONCOHERENT
	select CONFIG_BOOT_ELF32
	select CONFIG_IRQ_MIPS_CPU
	select CONFIG_SYS_SUPPORTS_32BIT_KERNEL
	select CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN
	select CONFIG_SYS_SUPPORTS_HIGHMEM
	select CONFIG_SYS_SUPPORTS_MIPS16
	select CONFIG_SYS_HAS_EARLY_PRINTK
	select CONFIG_USE_GENERIC_EARLY_PRINTK_8250
	select CONFIG_COMMON_CLK
endchoice

menuconfig CONFIG_CEVT_CSRC_LS1X
	bool "Use PWM Timer for clockevent/clocksource"
	select CONFIG_MIPS_EXTERNAL_TIMER
	depends on CONFIG_CPU_LOONGSON1
	help
	  This option changes the default clockevent/clocksource to CONFIG_PWM Timer,
	  and is required by Loongson1 CPUFreq support.

	  If unsure, say N.

choice
	prompt  "Select clockevent/clocksource"
	depends on CONFIG_CEVT_CSRC_LS1X
	default CONFIG_TIMER_USE_PWM0

config CONFIG_TIMER_USE_PWM0
	bool "Use PWM Timer 0"
	help
	  Use CONFIG_PWM Timer 0 as the default clockevent/clocksourcer.

config CONFIG_TIMER_USE_PWM1
	bool "Use PWM Timer 1"
	help
	  Use CONFIG_PWM Timer 1 as the default clockevent/clocksourcer.

config CONFIG_TIMER_USE_PWM2
	bool "Use PWM Timer 2"
	help
	  Use CONFIG_PWM Timer 2 as the default clockevent/clocksourcer.

config CONFIG_TIMER_USE_PWM3
	bool "Use PWM Timer 3"
	help
	  Use CONFIG_PWM Timer 3 as the default clockevent/clocksourcer.

endchoice

endif # CONFIG_MACH_LOONGSON32