1
0

Config.in.serial 9.5 KB

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