Kconfig 4.6 KB

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