Kconfig 4.6 KB

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