Kconfig 4.6 KB

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