1 # SPDX-License-Identifier: GPL-2.0
4 select ARCH_32BIT_OFF_T
5 select ARCH_HAS_DEVMEM_IS_ALLOWED
6 select ARCH_HAS_KEEPINITRD
7 select ARCH_MIGHT_HAVE_PC_PARPORT
8 select ARCH_MIGHT_HAVE_PC_SERIO
9 select HAVE_KERNEL_GZIP
10 select HAVE_KERNEL_BZIP2
11 select GENERIC_ATOMIC64
12 select HAVE_KERNEL_LZO
13 select HAVE_KERNEL_LZMA
16 select ARCH_HAVE_CUSTOM_GPIO_H
17 select GENERIC_FIND_FIRST_BIT
18 select GENERIC_IRQ_PROBE
19 select GENERIC_IRQ_SHOW
20 select ARCH_WANT_FRAME_POINTERS
22 select MODULES_USE_ELF_REL
23 select NEED_DMA_MAP_STATE
24 select MMU_GATHER_NO_RANGE if MMU
26 UniCore-32 is 32-bit Instruction Set Architecture,
27 including a series of low-power-consumption RISC chip
28 designs licensed by PKUnity Ltd.
29 Please see web page at <http://www.pkunity.com/>.
37 config STACKTRACE_SUPPORT
40 config LOCKDEP_SUPPORT
43 config ARCH_HAS_ILOG2_U32
46 config ARCH_HAS_ILOG2_U64
49 config GENERIC_HWEIGHT
52 config GENERIC_CALIBRATE_DELAY
55 config ARCH_MAY_HAVE_PC_FDC
72 select GENERIC_CLOCKEVENTS
73 select HAVE_LEGACY_CLK
76 # CONFIGs for ARCH_PUV3
81 prompt "Board Selection"
84 config PUV3_FPGA_DLX200
89 bool "DEBUG board (0913)"
92 bool "NetBook board (0916)"
97 bool "Security Mini-Workstation board (0919)"
102 def_bool y if !ARCH_FPGA
106 source "arch/unicore32/mm/Kconfig"
108 comment "Floating point support"
110 config UNICORE_FPU_F64
111 def_bool y if !ARCH_FPGA
115 menu "Kernel Features"
117 source "kernel/Kconfig.hz"
123 config ALIGNMENT_TRAP
126 Unicore processors can not fetch/store information which is not
127 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
128 address divisible by 4. On 32-bit Unicore processors, these non-aligned
129 fetch/store instructions will be emulated in software if you say
130 here, which has a severe performance impact. This is necessary for
131 correct operation of some network protocols. With an IP-only
132 configuration it is safe to say N, otherwise say Y.
139 string "Default kernel command string"
143 bool "Always use the default kernel command string"
144 depends on CMDLINE != ""
146 Always use the default kernel command string, even if the boot
147 loader passes other arguments to the kernel.
148 This is useful if you cannot or don't want to change the
149 command-line options your boot loader passes to the kernel.
155 menu "Power management options"
157 source "kernel/power/Kconfig"
159 source "drivers/cpufreq/Kconfig"
161 config ARCH_SUSPEND_POSSIBLE
162 def_bool y if !ARCH_FPGA
164 config ARCH_HIBERNATION_POSSIBLE
165 def_bool y if !ARCH_FPGA
173 depends on !ARCH_FPGA
179 menu "PKUnity NetBook-0916 Features"
181 config I2C_BATTERY_BQ27200
182 tristate "I2C Battery BQ27200 Support"
185 select BATTERY_BQ27XXX
187 config I2C_EEPROM_AT24
188 tristate "I2C EEPROMs AT24 support"
193 tristate "LCD Backlight support"