1 # SPDX-License-Identifier: GPL-2.0
4 select ARCH_HAS_DEVMEM_IS_ALLOWED
5 select ARCH_MIGHT_HAVE_PC_PARPORT
6 select ARCH_MIGHT_HAVE_PC_SERIO
8 select HAVE_GENERIC_DMA_COHERENT
9 select HAVE_KERNEL_GZIP
10 select HAVE_KERNEL_BZIP2
11 select GENERIC_ATOMIC64
12 select HAVE_KERNEL_LZO
13 select HAVE_KERNEL_LZMA
15 select ARCH_HAVE_CUSTOM_GPIO_H
16 select GENERIC_FIND_FIRST_BIT
17 select GENERIC_IRQ_PROBE
18 select GENERIC_IRQ_SHOW
19 select ARCH_WANT_FRAME_POINTERS
21 select MODULES_USE_ELF_REL
22 select NEED_DMA_MAP_STATE
24 UniCore-32 is 32-bit Instruction Set Architecture,
25 including a series of low-power-consumption RISC chip
26 designs licensed by PKUnity Ltd.
27 Please see web page at <http://www.pkunity.com/>.
35 config STACKTRACE_SUPPORT
38 config LOCKDEP_SUPPORT
41 config RWSEM_GENERIC_SPINLOCK
44 config RWSEM_XCHGADD_ALGORITHM
47 config ARCH_HAS_ILOG2_U32
50 config ARCH_HAS_ILOG2_U64
53 config GENERIC_HWEIGHT
56 config GENERIC_CALIBRATE_DELAY
59 config ARCH_MAY_HAVE_PC_FDC
76 select GENERIC_CLOCKEVENTS
80 # CONFIGs for ARCH_PUV3
85 prompt "Board Selection"
88 config PUV3_FPGA_DLX200
93 bool "DEBUG board (0913)"
96 bool "NetBook board (0916)"
101 bool "Security Mini-Workstation board (0919)"
106 def_bool y if !ARCH_FPGA
110 source "arch/unicore32/mm/Kconfig"
112 comment "Floating point support"
114 config UNICORE_FPU_F64
115 def_bool y if !ARCH_FPGA
124 Find out whether you have a PCI motherboard. PCI is the name of a
125 bus system, i.e. the way the CPU talks to the other stuff inside
126 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
127 VESA. If you have PCI, say Y, otherwise N.
129 source "drivers/pci/Kconfig"
131 source "drivers/pcmcia/Kconfig"
135 menu "Kernel Features"
137 source "kernel/Kconfig.hz"
143 config ALIGNMENT_TRAP
146 Unicore processors can not fetch/store information which is not
147 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
148 address divisible by 4. On 32-bit Unicore processors, these non-aligned
149 fetch/store instructions will be emulated in software if you say
150 here, which has a severe performance impact. This is necessary for
151 correct operation of some network protocols. With an IP-only
152 configuration it is safe to say N, otherwise say Y.
159 string "Default kernel command string"
163 bool "Always use the default kernel command string"
164 depends on CMDLINE != ""
166 Always use the default kernel command string, even if the boot
167 loader passes other arguments to the kernel.
168 This is useful if you cannot or don't want to change the
169 command-line options your boot loader passes to the kernel.
175 menu "Power management options"
177 source "kernel/power/Kconfig"
179 source "drivers/cpufreq/Kconfig"
181 config ARCH_SUSPEND_POSSIBLE
182 def_bool y if !ARCH_FPGA
184 config ARCH_HIBERNATION_POSSIBLE
185 def_bool y if !ARCH_FPGA
193 depends on !ARCH_FPGA
199 menu "PKUnity NetBook-0916 Features"
201 config I2C_BATTERY_BQ27200
202 tristate "I2C Battery BQ27200 Support"
205 select BATTERY_BQ27XXX
207 config I2C_EEPROM_AT24
208 tristate "I2C EEPROMs AT24 support"
213 tristate "LCD Backlight support"
214 select BACKLIGHT_LCD_SUPPORT