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