Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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 HAVE_KERNEL_LZO
  10. select HAVE_KERNEL_LZMA
  11. select GENERIC_FIND_FIRST_BIT
  12. select GENERIC_IRQ_PROBE
  13. select GENERIC_HARDIRQS_NO_DEPRECATED
  14. select GENERIC_IRQ_SHOW
  15. select ARCH_WANT_FRAME_POINTERS
  16. help
  17. UniCore-32 is 32-bit Instruction Set Architecture,
  18. including a series of low-power-consumption RISC chip
  19. designs licensed by PKUnity Ltd.
  20. Please see web page at <http://www.pkunity.com/>.
  21. config HAVE_PWM
  22. bool
  23. config GENERIC_GPIO
  24. def_bool y
  25. config GENERIC_CLOCKEVENTS
  26. bool
  27. config GENERIC_CSUM
  28. def_bool y
  29. config GENERIC_IOMAP
  30. def_bool y
  31. config NO_IOPORT
  32. bool
  33. config STACKTRACE_SUPPORT
  34. def_bool y
  35. config HAVE_LATENCYTOP_SUPPORT
  36. def_bool y
  37. config LOCKDEP_SUPPORT
  38. def_bool y
  39. config RWSEM_GENERIC_SPINLOCK
  40. def_bool y
  41. config RWSEM_XCHGADD_ALGORITHM
  42. bool
  43. config ARCH_HAS_ILOG2_U32
  44. bool
  45. config ARCH_HAS_ILOG2_U64
  46. bool
  47. config ARCH_HAS_CPUFREQ
  48. bool
  49. config GENERIC_HWEIGHT
  50. def_bool y
  51. config GENERIC_CALIBRATE_DELAY
  52. def_bool y
  53. config ARCH_MAY_HAVE_PC_FDC
  54. bool
  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 HAVE_PWM
  84. config PUV3_SMW0919
  85. bool "Security Mini-Workstation board (0919)"
  86. endchoice
  87. config PUV3_PM
  88. def_bool y if !ARCH_FPGA
  89. endif
  90. source "arch/unicore32/mm/Kconfig"
  91. comment "Floating poing support"
  92. config UNICORE_FPU_F64
  93. def_bool y if !ARCH_FPGA
  94. endmenu
  95. menu "Bus support"
  96. config PCI
  97. bool "PCI Support"
  98. help
  99. Find out whether you have a PCI motherboard. PCI is the name of a
  100. bus system, i.e. the way the CPU talks to the other stuff inside
  101. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  102. VESA. If you have PCI, say Y, otherwise N.
  103. source "drivers/pci/Kconfig"
  104. source "drivers/pcmcia/Kconfig"
  105. endmenu
  106. menu "Kernel Features"
  107. source "kernel/time/Kconfig"
  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 if EXPERIMENTAL
  159. default y
  160. config PUV3_PWM
  161. tristate
  162. default BACKLIGHT_PWM
  163. help
  164. Enable support for NB0916 PWM controllers
  165. config PUV3_RTC
  166. tristate "PKUnity v3 RTC Support"
  167. depends on !ARCH_FPGA
  168. if PUV3_NB0916
  169. menu "PKUnity NetBook-0916 Features"
  170. config I2C_BATTERY_BQ27200
  171. tristate "I2C Battery BQ27200 Support"
  172. select PUV3_I2C
  173. select POWER_SUPPLY
  174. select BATTERY_BQ27x00
  175. config I2C_EEPROM_AT24
  176. tristate "I2C EEPROMs AT24 support"
  177. select PUV3_I2C
  178. select MISC_DEVICES
  179. select EEPROM_AT24
  180. config LCD_BACKLIGHT
  181. tristate "LCD Backlight support"
  182. select BACKLIGHT_LCD_SUPPORT
  183. select BACKLIGHT_PWM
  184. endmenu
  185. endif
  186. endif
  187. source "drivers/Kconfig"
  188. source "fs/Kconfig"
  189. source "arch/unicore32/Kconfig.debug"
  190. source "security/Kconfig"
  191. source "crypto/Kconfig"
  192. source "lib/Kconfig"