Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. config 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 GENERIC_ATOMIC64
  10. select HAVE_KERNEL_LZO
  11. select HAVE_KERNEL_LZMA
  12. select HAVE_VIRT_TO_BUS
  13. select ARCH_HAVE_CUSTOM_GPIO_H
  14. select GENERIC_FIND_FIRST_BIT
  15. select GENERIC_IRQ_PROBE
  16. select GENERIC_IRQ_SHOW
  17. select ARCH_WANT_FRAME_POINTERS
  18. select GENERIC_IOMAP
  19. select MODULES_USE_ELF_REL
  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. config GENERIC_GPIO
  26. def_bool y
  27. config GENERIC_CSUM
  28. def_bool y
  29. config NO_IOPORT
  30. bool
  31. config STACKTRACE_SUPPORT
  32. def_bool y
  33. config HAVE_LATENCYTOP_SUPPORT
  34. def_bool y
  35. config LOCKDEP_SUPPORT
  36. def_bool y
  37. config RWSEM_GENERIC_SPINLOCK
  38. def_bool y
  39. config RWSEM_XCHGADD_ALGORITHM
  40. bool
  41. config ARCH_HAS_ILOG2_U32
  42. bool
  43. config ARCH_HAS_ILOG2_U64
  44. bool
  45. config ARCH_HAS_CPUFREQ
  46. bool
  47. config GENERIC_HWEIGHT
  48. def_bool y
  49. config GENERIC_CALIBRATE_DELAY
  50. def_bool y
  51. config ARCH_MAY_HAVE_PC_FDC
  52. bool
  53. config ZONE_DMA
  54. def_bool y
  55. config NEED_DMA_MAP_STATE
  56. def_bool y
  57. source "init/Kconfig"
  58. source "kernel/Kconfig.freezer"
  59. menu "System Type"
  60. config MMU
  61. def_bool y
  62. config ARCH_FPGA
  63. bool
  64. config ARCH_PUV3
  65. def_bool y
  66. select CPU_UCV2
  67. select GENERIC_CLOCKEVENTS
  68. select HAVE_CLK
  69. select ARCH_REQUIRE_GPIOLIB
  70. select ARCH_HAS_CPUFREQ
  71. # CONFIGs for ARCH_PUV3
  72. if ARCH_PUV3
  73. choice
  74. prompt "Board Selection"
  75. default PUV3_DB0913
  76. config PUV3_FPGA_DLX200
  77. select ARCH_FPGA
  78. bool "FPGA board"
  79. config PUV3_DB0913
  80. bool "DEBUG board (0913)"
  81. config PUV3_NB0916
  82. bool "NetBook board (0916)"
  83. select PWM
  84. select PWM_PUV3
  85. config PUV3_SMW0919
  86. bool "Security Mini-Workstation board (0919)"
  87. endchoice
  88. config PUV3_PM
  89. def_bool y if !ARCH_FPGA
  90. endif
  91. source "arch/unicore32/mm/Kconfig"
  92. comment "Floating poing support"
  93. config UNICORE_FPU_F64
  94. def_bool y if !ARCH_FPGA
  95. endmenu
  96. menu "Bus support"
  97. config PCI
  98. bool "PCI Support"
  99. help
  100. Find out whether you have a PCI motherboard. PCI is the name of a
  101. bus system, i.e. the way the CPU talks to the other stuff inside
  102. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  103. VESA. If you have PCI, say Y, otherwise N.
  104. source "drivers/pci/Kconfig"
  105. source "drivers/pcmcia/Kconfig"
  106. endmenu
  107. menu "Kernel Features"
  108. source "kernel/Kconfig.preempt"
  109. source "kernel/Kconfig.hz"
  110. source "mm/Kconfig"
  111. config LEDS
  112. def_bool y
  113. depends on GENERIC_GPIO
  114. config ALIGNMENT_TRAP
  115. def_bool y
  116. help
  117. Unicore processors can not fetch/store information which is not
  118. naturally aligned on the bus, i.e., a 4 byte fetch must start at an
  119. address divisible by 4. On 32-bit Unicore processors, these non-aligned
  120. fetch/store instructions will be emulated in software if you say
  121. here, which has a severe performance impact. This is necessary for
  122. correct operation of some network protocols. With an IP-only
  123. configuration it is safe to say N, otherwise say Y.
  124. endmenu
  125. menu "Boot options"
  126. config CMDLINE
  127. string "Default kernel command string"
  128. default ""
  129. config CMDLINE_FORCE
  130. bool "Always use the default kernel command string"
  131. depends on CMDLINE != ""
  132. help
  133. Always use the default kernel command string, even if the boot
  134. loader passes other arguments to the kernel.
  135. This is useful if you cannot or don't want to change the
  136. command-line options your boot loader passes to the kernel.
  137. If unsure, say N.
  138. endmenu
  139. menu "Userspace binary formats"
  140. source "fs/Kconfig.binfmt"
  141. endmenu
  142. menu "Power management options"
  143. source "kernel/power/Kconfig"
  144. if ARCH_HAS_CPUFREQ
  145. source "drivers/cpufreq/Kconfig"
  146. endif
  147. config ARCH_SUSPEND_POSSIBLE
  148. def_bool y if !ARCH_FPGA
  149. config ARCH_HIBERNATION_POSSIBLE
  150. def_bool y if !ARCH_FPGA
  151. endmenu
  152. source "net/Kconfig"
  153. if ARCH_PUV3
  154. config PUV3_GPIO
  155. bool
  156. depends on !ARCH_FPGA
  157. select GENERIC_GPIO
  158. select GPIO_SYSFS
  159. default y
  160. if PUV3_NB0916
  161. menu "PKUnity NetBook-0916 Features"
  162. config I2C_BATTERY_BQ27200
  163. tristate "I2C Battery BQ27200 Support"
  164. select I2C_PUV3
  165. select POWER_SUPPLY
  166. select BATTERY_BQ27x00
  167. config I2C_EEPROM_AT24
  168. tristate "I2C EEPROMs AT24 support"
  169. select I2C_PUV3
  170. select EEPROM_AT24
  171. config LCD_BACKLIGHT
  172. tristate "LCD Backlight support"
  173. select BACKLIGHT_LCD_SUPPORT
  174. select BACKLIGHT_PWM
  175. endmenu
  176. endif
  177. endif
  178. source "drivers/Kconfig"
  179. source "fs/Kconfig"
  180. source "arch/unicore32/Kconfig.debug"
  181. source "security/Kconfig"
  182. source "crypto/Kconfig"
  183. source "lib/Kconfig"