Kconfig 4.6 KB

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