Kconfig 4.4 KB

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