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

config CONFIG_UNICORE32
	def_bool y
	select CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED
	select CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT
	select CONFIG_ARCH_MIGHT_HAVE_PC_SERIO
	select CONFIG_HAVE_MEMBLOCK
	select CONFIG_HAVE_GENERIC_DMA_COHERENT
	select CONFIG_HAVE_KERNEL_GZIP
	select CONFIG_HAVE_KERNEL_BZIP2
	select CONFIG_GENERIC_ATOMIC64
	select CONFIG_HAVE_KERNEL_LZO
	select CONFIG_HAVE_KERNEL_LZMA
	select CONFIG_VIRT_TO_BUS
	select CONFIG_ARCH_HAVE_CUSTOM_GPIO_H
	select CONFIG_GENERIC_FIND_FIRST_BIT
	select CONFIG_GENERIC_IRQ_PROBE
	select CONFIG_GENERIC_IRQ_SHOW
	select CONFIG_ARCH_WANT_FRAME_POINTERS
	select CONFIG_GENERIC_IOMAP
	select CONFIG_MODULES_USE_ELF_REL
	help
	  UniCore-32 is 32-bit Instruction Set Architecture,
	  including a series of low-power-consumption RISC chip
	  designs licensed by PKUnity Ltd.
	  Please see web page at <http://www.pkunity.com/>.

config CONFIG_GENERIC_CSUM
	def_bool y

config CONFIG_NO_IOPORT_MAP
	bool

config CONFIG_STACKTRACE_SUPPORT
	def_bool y

config CONFIG_LOCKDEP_SUPPORT
	def_bool y

config CONFIG_RWSEM_GENERIC_SPINLOCK
	def_bool y

config CONFIG_RWSEM_XCHGADD_ALGORITHM
	bool

config CONFIG_ARCH_HAS_ILOG2_U32
	bool

config CONFIG_ARCH_HAS_ILOG2_U64
	bool

config CONFIG_GENERIC_HWEIGHT
	def_bool y

config CONFIG_GENERIC_CALIBRATE_DELAY
	def_bool y

config CONFIG_ARCH_MAY_HAVE_PC_FDC
	bool

config CONFIG_ZONE_DMA
	def_bool y

config CONFIG_NEED_DMA_MAP_STATE
       def_bool y

source "init/Kconfig"

source "kernel/Kconfig.freezer"

menu "System Type"

config CONFIG_MMU
	def_bool y

config CONFIG_ARCH_FPGA
	bool

config CONFIG_ARCH_PUV3
	def_bool y
	select CONFIG_CPU_UCV2
	select CONFIG_GENERIC_CLOCKEVENTS
	select CONFIG_HAVE_CLK
	select CONFIG_GPIOLIB

# CONFIGs for CONFIG_ARCH_PUV3

if CONFIG_ARCH_PUV3

choice
	prompt "Board Selection"
	default CONFIG_PUV3_DB0913

config CONFIG_PUV3_FPGA_DLX200
	select CONFIG_ARCH_FPGA
	bool "FPGA board"

config CONFIG_PUV3_DB0913
	bool "DEBUG board (0913)"

config CONFIG_PUV3_NB0916
	bool "NetBook board (0916)"
	select CONFIG_PWM
	select CONFIG_PWM_PUV3

config CONFIG_PUV3_SMW0919
	bool "Security Mini-Workstation board (0919)"

endchoice

config CONFIG_PUV3_PM
	def_bool y if !CONFIG_ARCH_FPGA

endif

source "arch/unicore32/mm/Kconfig"

comment "Floating poing support"

config CONFIG_UNICORE_FPU_F64
	def_bool y if !CONFIG_ARCH_FPGA

endmenu

menu "Bus support"

config CONFIG_PCI
	bool "PCI Support"
	help
	  Find out whether you have a CONFIG_PCI motherboard. CONFIG_PCI is the name of a
	  bus system, i.e. the way the CPU talks to the other stuff inside
	  your box. Other bus systems are CONFIG_ISA, CONFIG_EISA, MicroChannel (CONFIG_MCA) or
	  VESA. If you have CONFIG_PCI, say Y, otherwise N.

source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

endmenu

menu "Kernel Features"

source "kernel/Kconfig.preempt"

source "kernel/Kconfig.hz"

source "mm/Kconfig"

config CONFIG_LEDS
	def_bool y
	depends on CONFIG_GPIOLIB

config CONFIG_ALIGNMENT_TRAP
	def_bool y
	help
	  Unicore processors can not fetch/store information which is not
	  naturally aligned on the bus, i.e., a 4 byte fetch must start at an
	  address divisible by 4. On 32-bit Unicore processors, these non-aligned
	  fetch/store instructions will be emulated in software if you say
	  here, which has a severe performance impact. This is necessary for
	  correct operation of some network protocols. With an IP-only
	  configuration it is safe to say N, otherwise say Y.

endmenu

menu "Boot options"

config CONFIG_CMDLINE
	string "Default kernel command string"
	default ""

config CONFIG_CMDLINE_FORCE
	bool "Always use the default kernel command string"
	depends on CONFIG_CMDLINE != ""
	help
	  Always use the default kernel command string, even if the boot
	  loader passes other arguments to the kernel.
	  This is useful if you cannot or don't want to change the
	  command-line options your boot loader passes to the kernel.

	  If unsure, say N.

endmenu

menu "Userspace binary formats"

source "fs/Kconfig.binfmt"

endmenu

menu "Power management options"

source "kernel/power/Kconfig"

source "drivers/cpufreq/Kconfig"

config CONFIG_ARCH_SUSPEND_POSSIBLE
	def_bool y if !CONFIG_ARCH_FPGA

config CONFIG_ARCH_HIBERNATION_POSSIBLE
	def_bool y if !CONFIG_ARCH_FPGA

endmenu

source "net/Kconfig"

if CONFIG_ARCH_PUV3

config CONFIG_PUV3_GPIO
	bool
	depends on !CONFIG_ARCH_FPGA
	select CONFIG_GPIO_SYSFS
	default y

if CONFIG_PUV3_NB0916

menu "PKUnity NetBook-0916 Features"

config CONFIG_I2C_BATTERY_BQ27200
	tristate "I2C Battery BQ27200 Support"
	select CONFIG_I2C_PUV3
	select CONFIG_POWER_SUPPLY
	select CONFIG_BATTERY_BQ27XXX

config CONFIG_I2C_EEPROM_AT24
	tristate "I2C EEPROMs AT24 support"
	select CONFIG_I2C_PUV3
	select CONFIG_EEPROM_AT24

config CONFIG_LCD_BACKLIGHT
	tristate "LCD Backlight support"
	select CONFIG_BACKLIGHT_LCD_SUPPORT
	select CONFIG_BACKLIGHT_PWM

endmenu

endif

endif

source "drivers/Kconfig"

source "fs/Kconfig"

source "arch/unicore32/Kconfig.debug"

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"