Config.in.serial 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "Serial devices support"
  4. depends on ADK_TARGET_WITH_SERIAL || ADK_TARGET_QEMU || ADK_TARGET_VBOX || ADK_TARGET_SIM || ADK_TARGET_GENERIC
  5. config ADK_KERNEL_SERIAL_8250_DW
  6. bool
  7. config ADK_KERNEL_SERIAL_8250_CONSOLE
  8. bool
  9. config ADK_KERNEL_SERIAL_8250_PNP
  10. bool
  11. config ADK_KERNEL_SERIAL_ARC_CONSOLE
  12. bool
  13. config ADK_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  14. bool
  15. config ADK_KERNEL_SERIAL_IMX_CONSOLE
  16. bool
  17. config ADK_KERNEL_SERIAL_OF_PLATFORM
  18. bool
  19. config ADK_KERNEL_SERIAL_OMAP_CONSOLE
  20. bool
  21. config ADK_KERNEL_SERIAL_UARTLITE_CONSOLE
  22. bool
  23. config ADK_KERNEL_SERIAL_ETRAXFS_CONSOLE
  24. bool
  25. config ADK_KERNEL_SERIAL_MCF_CONSOLE
  26. bool
  27. config ADK_KERNEL_SERIAL_PMACZILOG_TTYS
  28. bool
  29. config ADK_KERNEL_SERIAL_PMACZILOG_CONSOLE
  30. bool
  31. config ADK_KERNEL_SERIAL_SH_SCI_CONSOLE
  32. bool
  33. config ADK_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  34. bool
  35. config ADK_KERNEL_SERIAL_SUNCORE
  36. bool
  37. config ADK_KERNEL_SERIAL_SUNSU_CONSOLE
  38. bool
  39. config ADK_KERNEL_DA_CONSOLE
  40. bool
  41. config ADK_KERNEL_SERIAL_IP22_ZILOG_CONSOLE
  42. bool
  43. config ADK_KERNEL_SERIAL_BFIN_CONSOLE
  44. bool
  45. config ADK_KERNEL_SERIAL_BFIN_UART0
  46. bool
  47. config ADK_KERNEL_SERIAL_BFIN_UART1
  48. bool
  49. config ADK_KERNEL_SERIAL_8250_INGENIC
  50. bool
  51. config ADK_KERNEL_SERIAL_BFIN
  52. bool "BFIN serial driver"
  53. select ADK_KERNEL_SERIAL_BFIN_CONSOLE
  54. select ADK_KERNEL_SERIAL_BFIN_UART0
  55. select ADK_KERNEL_SERIAL_BFIN_UART1
  56. depends on ADK_TARGET_ARCH_BFIN
  57. default y if ADK_TARGET_ARCH_BFIN
  58. config ADK_KERNEL_SERIAL_8250
  59. bool "8250 serial driver"
  60. select ADK_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  61. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  62. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  63. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  64. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  65. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  66. || ADK_TARGET_SYSTEM_SOM_C6745
  67. select ADK_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
  68. select ADK_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  69. select ADK_KERNEL_SERIAL_8250_CONSOLE
  70. select ADK_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
  71. depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  72. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  73. || ADK_TARGET_SYSTEM_LINKSYS_NSLU2 \
  74. || ADK_TARGET_SYSTEM_ANDES_AG101P \
  75. || ADK_TARGET_SYSTEM_PCENGINES_APU \
  76. || ADK_TARGET_SYSTEM_PCENGINES_ALIX \
  77. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  78. || ADK_TARGET_SYSTEM_QEMU_MIPS \
  79. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  80. || ADK_TARGET_SYSTEM_SGI_O2 \
  81. || ADK_TARGET_SYSTEM_QEMU_ALPHA \
  82. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  83. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  84. || ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  85. || ADK_TARGET_SYSTEM_QEMU_X86 \
  86. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  87. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  88. || ADK_TARGET_SYSTEM_IBM_X40 \
  89. || ADK_TARGET_SYSTEM_GENERIC_NDS32 \
  90. || ADK_TARGET_SYSTEM_GENERIC_X86 \
  91. || ADK_TARGET_SYSTEM_GENERIC_X86_64 \
  92. || ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  93. || ADK_TARGET_SYSTEM_MIKROTIK_RB4XX \
  94. || ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG \
  95. || ADK_TARGET_SYSTEM_SOM_C6745
  96. default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7
  97. default y if ADK_TARGET_SYSTEM_IMGTEC_CI20
  98. default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  99. default y if ADK_TARGET_SYSTEM_ANDES_AG101P
  100. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  101. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  102. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  103. default y if ADK_TARGET_SYSTEM_QEMU_MIPS
  104. default y if ADK_TARGET_SYSTEM_QEMU_MIPS64
  105. default y if ADK_TARGET_SYSTEM_SGI_O2
  106. default y if ADK_TARGET_SYSTEM_QEMU_ALPHA
  107. default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
  108. default y if ADK_TARGET_SYSTEM_QEMU_OR1K
  109. default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
  110. default y if ADK_TARGET_SYSTEM_QEMU_X86
  111. default y if ADK_TARGET_SYSTEM_QEMU_X86_64
  112. default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
  113. default y if ADK_TARGET_SYSTEM_IBM_X40
  114. default y if ADK_TARGET_SYSTEM_GENERIC_NDS32
  115. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  116. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  117. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  118. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  119. default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  120. default y if ADK_TARGET_SYSTEM_SOM_C6745
  121. default n
  122. help
  123. Serial driver for 8250 UART chip.
  124. config ADK_KERNEL_DA_TTY
  125. bool "METAG serial driver"
  126. select ADK_KERNEL_DA_CONSOLE
  127. depends on ADK_TARGET_SYSTEM_QEMU_METAG
  128. default y if ADK_TARGET_SYSTEM_QEMU_METAG
  129. default n
  130. help
  131. Serial driver for Qemu METAG Emulation.
  132. config ADK_KERNEL_SERIAL_SUNSU
  133. bool "Sun Sparc64 serial driver"
  134. select ADK_KERNEL_SERIAL_SUNSU_CONSOLE
  135. select ADK_KERNEL_SERIAL_SUNCORE
  136. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64
  137. default y if ADK_TARGET_SYSTEM_QEMU_SPARC64
  138. default n
  139. help
  140. Serial driver for Sun SPARC64.
  141. config ADK_KERNEL_SERIAL_ETRAXFS
  142. bool "ETRAXFS serial driver"
  143. select ADK_KERNEL_SERIAL_ETRAXFS_CONSOLE
  144. depends on ADK_TARGET_SYSTEM_QEMU_CRIS
  145. default y if ADK_TARGET_SYSTEM_QEMU_CRIS
  146. default n
  147. help
  148. Serial driver for ETRAXFS CRISv32 Qemu Emulation.
  149. config ADK_KERNEL_SERIAL_ARC
  150. bool "ARC serial driver"
  151. select ADK_KERNEL_SERIAL_ARC_CONSOLE
  152. depends on ADK_TARGET_SYSTEM_NSIM_ARCV1 \
  153. || ADK_TARGET_SYSTEM_NSIM_ARCV2
  154. default y if ADK_TARGET_SYSTEM_NSIM_ARCV1
  155. default y if ADK_TARGET_SYSTEM_NSIM_ARCV2
  156. default n
  157. help
  158. Serial driver for nSIM ARC simulator.
  159. config ADK_KERNEL_SERIAL_XILINX_PS_UART
  160. bool "Cadence serial driver"
  161. select ADK_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  162. depends on ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  163. default y if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  164. default n
  165. help
  166. Serial driver for Xilinx Zynq.
  167. config ADK_KERNEL_SERIAL_IMX
  168. bool "IMX serial driver"
  169. select ADK_KERNEL_SERIAL_IMX_CONSOLE
  170. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  171. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  172. default n
  173. help
  174. Serial driver for IMX6 chip.
  175. config ADK_KERNEL_SERIAL_AMBA_PL011
  176. bool "AMBA PL011 serial driver"
  177. select ADK_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  178. select ADK_KERNEL_SERIAL_OF_PLATFORM
  179. select ADK_KERNEL_SERIAL_8250
  180. select ADK_KERNEL_SERIAL_8250_CONSOLE
  181. depends on ADK_TARGET_BOARD_BCM28XX \
  182. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  183. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  184. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU \
  185. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  186. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  187. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  188. default y if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  189. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  190. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  191. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  192. default n
  193. help
  194. Serial driver for AMBA PL011 chip.
  195. config ADK_KERNEL_SERIAL_SH_SCI
  196. bool "sci serial driver"
  197. select ADK_KERNEL_SERIAL_SH_SCI_CONSOLE
  198. depends on ADK_TARGET_SYSTEM_SIM_H8300H \
  199. || ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  200. default y if ADK_TARGET_SYSTEM_SIM_H8300H
  201. default y if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  202. default n
  203. help
  204. Serial driver for SCI chip.
  205. config ADK_KERNEL_SERIAL_MCF
  206. bool "coldfire serial driver"
  207. select ADK_KERNEL_SERIAL_MCF_CONSOLE
  208. depends on ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  209. default y if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  210. default n
  211. help
  212. Serial driver for Qemu coldfire.
  213. config ADK_KERNEL_SERIAL_PMACZILOG
  214. bool "pmac serial driver"
  215. select ADK_KERNEL_SERIAL_PMACZILOG_TTYS
  216. select ADK_KERNEL_SERIAL_PMACZILOG_CONSOLE
  217. depends on ADK_TARGET_SYSTEM_QEMU_M68K_Q800 \
  218. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  219. default y if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
  220. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  221. default n
  222. help
  223. Serial driver for PMAC Q800 M68K and MACPPC.
  224. config ADK_KERNEL_SERIAL_OMAP
  225. bool "omap serial driver"
  226. select ADK_KERNEL_SERIAL_8250
  227. select ADK_KERNEL_SERIAL_8250_CONSOLE
  228. select ADK_KERNEL_SERIAL_OMAP_CONSOLE
  229. depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  230. default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  231. default n
  232. help
  233. Serial driver for Beaglebone Black
  234. config ADK_KERNEL_SERIAL_UARTLITE
  235. bool "uartlite serial driver"
  236. select ADK_KERNEL_SERIAL_UARTLITE_CONSOLE
  237. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  238. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  239. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  240. default y if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  241. default n
  242. help
  243. Serial driver for UART lite hardware.
  244. config ADK_KERNEL_SERIAL_IP22_ZILOG
  245. bool "SGI IP22 (Indy) serial driver"
  246. select ADK_KERNEL_SERIAL_IP22_ZILOG_CONSOLE
  247. depends on ADK_TARGET_SYSTEM_SGI_INDY
  248. default y if ADK_TARGET_SYSTEM_SGI_INDY
  249. default n
  250. help
  251. Serial driver for SGI Indy.
  252. config ADK_KERNEL_SERIAL_ATMEL
  253. bool "AT32 serial driver"
  254. select ADK_KERNEL_SERIAL_ATMEL_CONSOLE
  255. select ADK_KERNEL_SERIAL_ATMEL_PDC
  256. select ADK_KERNEL_BOARD_GRASSHOPPER_USART1 if ADK_TARGET_SYSTEM_GRASSHOPPER
  257. depends on ADK_TARGET_CPU_AVR32
  258. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  259. default n
  260. help
  261. Serial driver for AVR32 Grasshopper boards
  262. config ADK_KERNEL_BOARD_GRASSHOPPER_USART0
  263. bool "Enable USART0 on AVR32 Grasshopper boards"
  264. depends on ADK_KERNEL_SERIAL_ATMEL && ADK_TARGET_SYSTEM_GRASSHOPPER
  265. default n
  266. help
  267. Enable second USART on Grasshoper boards
  268. endmenu