1 # SPDX-License-Identifier: GPL-2.0
4 select ARCH_32BIT_OFF_T
5 select ARCH_HAS_DEVMEM_IS_ALLOWED
6 select ARCH_MIGHT_HAVE_PC_PARPORT
7 select ARCH_MIGHT_HAVE_PC_SERIO
8 select HAVE_KERNEL_GZIP
9 select HAVE_KERNEL_BZIP2
10 select GENERIC_ATOMIC64
11 select HAVE_KERNEL_LZO
12 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 ARCH_HAS_ILOG2_U32
44 config ARCH_HAS_ILOG2_U64
47 config GENERIC_HWEIGHT
50 config GENERIC_CALIBRATE_DELAY
53 config ARCH_MAY_HAVE_PC_FDC
70 select GENERIC_CLOCKEVENTS
74 # CONFIGs for ARCH_PUV3
79 prompt "Board Selection"
82 config PUV3_FPGA_DLX200
87 bool "DEBUG board (0913)"
90 bool "NetBook board (0916)"
95 bool "Security Mini-Workstation board (0919)"
100 def_bool y if !ARCH_FPGA
104 source "arch/unicore32/mm/Kconfig"
106 comment "Floating point support"
108 config UNICORE_FPU_F64
109 def_bool y if !ARCH_FPGA
113 menu "Kernel Features"
115 source "kernel/Kconfig.hz"
121 config ALIGNMENT_TRAP
124 Unicore processors can not fetch/store information which is not
125 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
126 address divisible by 4. On 32-bit Unicore processors, these non-aligned
127 fetch/store instructions will be emulated in software if you say
128 here, which has a severe performance impact. This is necessary for
129 correct operation of some network protocols. With an IP-only
130 configuration it is safe to say N, otherwise say Y.
137 string "Default kernel command string"
141 bool "Always use the default kernel command string"
142 depends on CMDLINE != ""
144 Always use the default kernel command string, even if the boot
145 loader passes other arguments to the kernel.
146 This is useful if you cannot or don't want to change the
147 command-line options your boot loader passes to the kernel.
153 menu "Power management options"
155 source "kernel/power/Kconfig"
157 source "drivers/cpufreq/Kconfig"
159 config ARCH_SUSPEND_POSSIBLE
160 def_bool y if !ARCH_FPGA
162 config ARCH_HIBERNATION_POSSIBLE
163 def_bool y if !ARCH_FPGA
171 depends on !ARCH_FPGA
177 menu "PKUnity NetBook-0916 Features"
179 config I2C_BATTERY_BQ27200
180 tristate "I2C Battery BQ27200 Support"
183 select BATTERY_BQ27XXX
185 config I2C_EEPROM_AT24
186 tristate "I2C EEPROMs AT24 support"
191 tristate "LCD Backlight support"
192 select BACKLIGHT_LCD_SUPPORT