1config UNICORE32 2 def_bool y 3 select HAVE_MEMBLOCK 4 select HAVE_GENERIC_DMA_COHERENT 5 select HAVE_GENERIC_HARDIRQS 6 select HAVE_DMA_ATTRS 7 select HAVE_KERNEL_GZIP 8 select HAVE_KERNEL_BZIP2 9 select HAVE_KERNEL_LZO 10 select HAVE_KERNEL_LZMA 11 select ARCH_HAVE_CUSTOM_GPIO_H 12 select GENERIC_FIND_FIRST_BIT 13 select GENERIC_IRQ_PROBE 14 select GENERIC_IRQ_SHOW 15 select ARCH_WANT_FRAME_POINTERS 16 select GENERIC_IOMAP 17 help 18 UniCore-32 is 32-bit Instruction Set Architecture, 19 including a series of low-power-consumption RISC chip 20 designs licensed by PKUnity Ltd. 21 Please see web page at <http://www.pkunity.com/>. 22 23config HAVE_PWM 24 bool 25 26config GENERIC_GPIO 27 def_bool y 28 29config GENERIC_CSUM 30 def_bool y 31 32config NO_IOPORT 33 bool 34 35config STACKTRACE_SUPPORT 36 def_bool y 37 38config HAVE_LATENCYTOP_SUPPORT 39 def_bool y 40 41config LOCKDEP_SUPPORT 42 def_bool y 43 44config RWSEM_GENERIC_SPINLOCK 45 def_bool y 46 47config RWSEM_XCHGADD_ALGORITHM 48 bool 49 50config ARCH_HAS_ILOG2_U32 51 bool 52 53config ARCH_HAS_ILOG2_U64 54 bool 55 56config ARCH_HAS_CPUFREQ 57 bool 58 59config GENERIC_HWEIGHT 60 def_bool y 61 62config GENERIC_CALIBRATE_DELAY 63 def_bool y 64 65config ARCH_MAY_HAVE_PC_FDC 66 bool 67 68config NEED_DMA_MAP_STATE 69 def_bool y 70 71source "init/Kconfig" 72 73source "kernel/Kconfig.freezer" 74 75menu "System Type" 76 77config MMU 78 def_bool y 79 80config ARCH_FPGA 81 bool 82 83config ARCH_PUV3 84 def_bool y 85 select CPU_UCV2 86 select GENERIC_CLOCKEVENTS 87 select HAVE_CLK 88 select ARCH_REQUIRE_GPIOLIB 89 select ARCH_HAS_CPUFREQ 90 91# CONFIGs for ARCH_PUV3 92 93if ARCH_PUV3 94 95choice 96 prompt "Board Selection" 97 default PUV3_DB0913 98 99config PUV3_FPGA_DLX200 100 select ARCH_FPGA 101 bool "FPGA board" 102 103config PUV3_DB0913 104 bool "DEBUG board (0913)" 105 106config PUV3_NB0916 107 bool "NetBook board (0916)" 108 select HAVE_PWM 109 110config PUV3_SMW0919 111 bool "Security Mini-Workstation board (0919)" 112 113endchoice 114 115config PUV3_PM 116 def_bool y if !ARCH_FPGA 117 118endif 119 120source "arch/unicore32/mm/Kconfig" 121 122comment "Floating poing support" 123 124config UNICORE_FPU_F64 125 def_bool y if !ARCH_FPGA 126 127endmenu 128 129menu "Bus support" 130 131config PCI 132 bool "PCI Support" 133 help 134 Find out whether you have a PCI motherboard. PCI is the name of a 135 bus system, i.e. the way the CPU talks to the other stuff inside 136 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or 137 VESA. If you have PCI, say Y, otherwise N. 138 139source "drivers/pci/Kconfig" 140 141source "drivers/pcmcia/Kconfig" 142 143endmenu 144 145menu "Kernel Features" 146 147source "kernel/Kconfig.preempt" 148 149source "kernel/Kconfig.hz" 150 151source "mm/Kconfig" 152 153config LEDS 154 def_bool y 155 depends on GENERIC_GPIO 156 157config ALIGNMENT_TRAP 158 def_bool y 159 help 160 Unicore processors can not fetch/store information which is not 161 naturally aligned on the bus, i.e., a 4 byte fetch must start at an 162 address divisible by 4. On 32-bit Unicore processors, these non-aligned 163 fetch/store instructions will be emulated in software if you say 164 here, which has a severe performance impact. This is necessary for 165 correct operation of some network protocols. With an IP-only 166 configuration it is safe to say N, otherwise say Y. 167 168endmenu 169 170menu "Boot options" 171 172config CMDLINE 173 string "Default kernel command string" 174 default "" 175 176config CMDLINE_FORCE 177 bool "Always use the default kernel command string" 178 depends on CMDLINE != "" 179 help 180 Always use the default kernel command string, even if the boot 181 loader passes other arguments to the kernel. 182 This is useful if you cannot or don't want to change the 183 command-line options your boot loader passes to the kernel. 184 185 If unsure, say N. 186 187endmenu 188 189menu "Userspace binary formats" 190 191source "fs/Kconfig.binfmt" 192 193endmenu 194 195menu "Power management options" 196 197source "kernel/power/Kconfig" 198 199if ARCH_HAS_CPUFREQ 200source "drivers/cpufreq/Kconfig" 201endif 202 203config ARCH_SUSPEND_POSSIBLE 204 def_bool y if !ARCH_FPGA 205 206config ARCH_HIBERNATION_POSSIBLE 207 def_bool y if !ARCH_FPGA 208 209endmenu 210 211source "net/Kconfig" 212 213if ARCH_PUV3 214 215config PUV3_GPIO 216 bool 217 depends on !ARCH_FPGA 218 select GENERIC_GPIO 219 select GPIO_SYSFS if EXPERIMENTAL 220 default y 221 222config PUV3_PWM 223 tristate 224 default BACKLIGHT_PWM 225 help 226 Enable support for NB0916 PWM controllers 227 228if PUV3_NB0916 229 230menu "PKUnity NetBook-0916 Features" 231 232config I2C_BATTERY_BQ27200 233 tristate "I2C Battery BQ27200 Support" 234 select I2C_PUV3 235 select POWER_SUPPLY 236 select BATTERY_BQ27x00 237 238config I2C_EEPROM_AT24 239 tristate "I2C EEPROMs AT24 support" 240 select I2C_PUV3 241 select EEPROM_AT24 242 243config LCD_BACKLIGHT 244 tristate "LCD Backlight support" 245 select BACKLIGHT_LCD_SUPPORT 246 select BACKLIGHT_PWM 247 248endmenu 249 250endif 251 252endif 253 254source "drivers/Kconfig" 255 256source "fs/Kconfig" 257 258source "arch/unicore32/Kconfig.debug" 259 260source "security/Kconfig" 261 262source "crypto/Kconfig" 263 264source "lib/Kconfig" 265

