Config.in.serial 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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_LINUX_KERNEL_SERIAL_8250_DMA
  6. bool
  7. config ADK_LINUX_KERNEL_SERIAL_8250_DW
  8. bool
  9. config ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  10. bool
  11. config ADK_LINUX_KERNEL_SERIAL_8250_PNP
  12. bool
  13. config ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
  14. bool
  15. config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  16. bool
  17. config ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
  18. bool
  19. config ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
  20. bool
  21. config ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
  22. bool
  23. config ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
  24. bool
  25. config ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
  26. bool
  27. config ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
  28. bool
  29. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
  30. bool
  31. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
  32. bool
  33. config ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
  34. bool
  35. config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  36. bool
  37. config ADK_LINUX_KERNEL_SERIAL_SUNCORE
  38. bool
  39. config ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
  40. bool
  41. config ADK_LINUX_KERNEL_DA_CONSOLE
  42. bool
  43. config ADK_LINUX_KERNEL_SERIAL_IP22_ZILOG_CONSOLE
  44. bool
  45. config ADK_LINUX_KERNEL_SERIAL_BFIN_CONSOLE
  46. bool
  47. config ADK_LINUX_KERNEL_SERIAL_BFIN_UART0
  48. bool
  49. config ADK_LINUX_KERNEL_SERIAL_BFIN_UART1
  50. bool
  51. config ADK_LINUX_KERNEL_SERIAL_8250_INGENIC
  52. bool
  53. config ADK_LINUX_KERNEL_SERIAL_BFIN
  54. bool "BFIN serial driver"
  55. select ADK_LINUX_KERNEL_SERIAL_BFIN_CONSOLE
  56. select ADK_LINUX_KERNEL_SERIAL_BFIN_UART0
  57. select ADK_LINUX_KERNEL_SERIAL_BFIN_UART1
  58. depends on ADK_TARGET_ARCH_BFIN
  59. default y if ADK_TARGET_ARCH_BFIN
  60. config ADK_LINUX_KERNEL_SERIAL_8250
  61. bool "8250 serial driver"
  62. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  63. select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  64. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  65. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK610 \
  66. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK807 \
  67. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK810 \
  68. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  69. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  70. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  71. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  72. || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
  73. || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
  74. || ADK_TARGET_SYSTEM_ANDES_AG101P \
  75. || ADK_TARGET_SYSTEM_ORANGE_PI0 \
  76. || ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
  77. || ADK_TARGET_SYSTEM_SOM_C6745
  78. select ADK_LINUX_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
  79. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  80. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_ORANGE_PI0
  81. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
  82. select ADK_LINUX_KERNEL_SERIAL_8250_DMA if ADK_TARGET_SYSTEM_ORANGE_PI0
  83. select ADK_LINUX_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
  84. depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  85. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  86. || ADK_TARGET_SYSTEM_LINKSYS_NSLU2 \
  87. || ADK_TARGET_SYSTEM_ANDES_AG101P \
  88. || ADK_TARGET_SYSTEM_PCENGINES_APU \
  89. || ADK_TARGET_SYSTEM_PCENGINES_ALIX \
  90. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  91. || ADK_TARGET_SYSTEM_QEMU_MIPS \
  92. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  93. || ADK_TARGET_SYSTEM_SGI_O2 \
  94. || ADK_TARGET_SYSTEM_QEMU_ALPHA \
  95. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK610 \
  96. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK807 \
  97. || ADK_TARGET_SYSTEM_QEMU_CSKY_CK810 \
  98. || ADK_TARGET_SYSTEM_QEMU_HPPA \
  99. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  100. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  101. || ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  102. || ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS \
  103. || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
  104. || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
  105. || ADK_TARGET_SYSTEM_QEMU_X86 \
  106. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  107. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  108. || ADK_TARGET_SYSTEM_IBM_X40 \
  109. || ADK_TARGET_SYSTEM_GENERIC_NDS32 \
  110. || ADK_TARGET_SYSTEM_GENERIC_X86 \
  111. || ADK_TARGET_SYSTEM_GENERIC_X86_64 \
  112. || ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  113. || ADK_TARGET_SYSTEM_MIKROTIK_RB4XX \
  114. || ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG \
  115. || ADK_TARGET_SYSTEM_ORANGE_PI0 \
  116. || ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
  117. || ADK_TARGET_SYSTEM_DEC_MULTIA \
  118. || ADK_TARGET_SYSTEM_SOM_C6745
  119. default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7
  120. default y if ADK_TARGET_SYSTEM_IMGTEC_CI20
  121. default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  122. default y if ADK_TARGET_SYSTEM_ANDES_AG101P
  123. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  124. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  125. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  126. default y if ADK_TARGET_SYSTEM_QEMU_MIPS
  127. default y if ADK_TARGET_SYSTEM_QEMU_MIPS64
  128. default y if ADK_TARGET_SYSTEM_SGI_O2
  129. default y if ADK_TARGET_SYSTEM_QEMU_ALPHA
  130. default y if ADK_TARGET_SYSTEM_QEMU_CSKY_CK610
  131. default y if ADK_TARGET_SYSTEM_QEMU_CSKY_CK807
  132. default y if ADK_TARGET_SYSTEM_QEMU_CSKY_CK810
  133. default y if ADK_TARGET_SYSTEM_QEMU_HPPA
  134. default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
  135. default y if ADK_TARGET_SYSTEM_QEMU_OR1K
  136. default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
  137. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS
  138. default y if ADK_TARGET_SYSTEM_QEMU_RISCV32
  139. default y if ADK_TARGET_SYSTEM_QEMU_RISCV64
  140. default y if ADK_TARGET_SYSTEM_QEMU_X86
  141. default y if ADK_TARGET_SYSTEM_QEMU_X86_64
  142. default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
  143. default y if ADK_TARGET_SYSTEM_IBM_X40
  144. default y if ADK_TARGET_SYSTEM_GENERIC_NDS32
  145. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  146. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  147. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  148. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  149. default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  150. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  151. default y if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
  152. default y if ADK_TARGET_SYSTEM_SOM_C6745
  153. default y if ADK_TARGET_SYSTEM_DEC_MULTIA
  154. default n
  155. help
  156. Serial driver for 8250 UART chip.
  157. config ADK_LINUX_KERNEL_DA_TTY
  158. bool "METAG serial driver"
  159. select ADK_LINUX_KERNEL_DA_CONSOLE
  160. depends on ADK_TARGET_SYSTEM_QEMU_METAG
  161. default y if ADK_TARGET_SYSTEM_QEMU_METAG
  162. default n
  163. help
  164. Serial driver for Qemu METAG Emulation.
  165. config ADK_LINUX_KERNEL_SERIAL_SUNSU
  166. bool "Sun Sparc64 serial driver"
  167. select ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
  168. select ADK_LINUX_KERNEL_SERIAL_SUNCORE
  169. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64
  170. default y if ADK_TARGET_SYSTEM_QEMU_SPARC64
  171. default n
  172. help
  173. Serial driver for Sun SPARC64.
  174. config ADK_LINUX_KERNEL_SERIAL_ETRAXFS
  175. bool "ETRAXFS serial driver"
  176. select ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
  177. depends on ADK_TARGET_SYSTEM_QEMU_CRIS
  178. default y if ADK_TARGET_SYSTEM_QEMU_CRIS
  179. default n
  180. help
  181. Serial driver for ETRAXFS CRISv32 Qemu Emulation.
  182. config ADK_LINUX_KERNEL_SERIAL_ARC
  183. bool "ARC serial driver"
  184. select ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
  185. depends on ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  186. default y if ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  187. default n
  188. help
  189. Serial driver for nSIM ARC simulator.
  190. config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART
  191. bool "Cadence serial driver"
  192. select ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  193. depends on ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  194. default y if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  195. default n
  196. help
  197. Serial driver for Xilinx Zynq.
  198. config ADK_LINUX_KERNEL_SERIAL_IMX
  199. bool "IMX serial driver"
  200. select ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
  201. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  202. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  203. default n
  204. help
  205. Serial driver for IMX6 chip.
  206. config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011
  207. bool "AMBA PL011 serial driver"
  208. select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  209. select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
  210. select ADK_LINUX_KERNEL_SERIAL_8250
  211. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  212. depends on ADK_TARGET_BOARD_BCM28XX \
  213. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  214. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  215. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  216. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  217. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  218. default y if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  219. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  220. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  221. default n
  222. help
  223. Serial driver for AMBA PL011 chip.
  224. config ADK_LINUX_KERNEL_SERIAL_SH_SCI
  225. bool "sci serial driver"
  226. select ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
  227. depends on ADK_TARGET_SYSTEM_SIM_H8300H \
  228. || ADK_TARGET_SYSTEM_SIM_H8S \
  229. || ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  230. default y if ADK_TARGET_SYSTEM_SIM_H8300H
  231. default y if ADK_TARGET_SYSTEM_SIM_H8S
  232. default y if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  233. default n
  234. help
  235. Serial driver for SCI chip.
  236. config ADK_LINUX_KERNEL_SERIAL_MCF
  237. bool "coldfire serial driver"
  238. select ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
  239. depends on ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  240. default y if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  241. default n
  242. help
  243. Serial driver for Qemu coldfire.
  244. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG
  245. bool "pmac serial driver"
  246. select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
  247. select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
  248. depends on ADK_TARGET_SYSTEM_QEMU_M68K_Q800 \
  249. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  250. default y if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
  251. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  252. default n
  253. help
  254. Serial driver for PMAC Q800 M68K and MACPPC.
  255. config ADK_LINUX_KERNEL_SERIAL_OMAP
  256. bool "omap serial driver"
  257. select ADK_LINUX_KERNEL_SERIAL_8250
  258. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  259. select ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
  260. depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK \
  261. || ADK_TARGET_SYSTEM_PHYTEC_WEGA
  262. default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  263. default y if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  264. default n
  265. help
  266. Serial driver for TI OMAP Boards.
  267. config ADK_LINUX_KERNEL_SERIAL_UARTLITE
  268. bool "uartlite serial driver"
  269. select ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
  270. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  271. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  272. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  273. default y if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  274. default n
  275. help
  276. Serial driver for UART lite hardware.
  277. config ADK_LINUX_KERNEL_SERIAL_IP22_ZILOG
  278. bool "SGI IP22 (Indy) serial driver"
  279. select ADK_LINUX_KERNEL_SERIAL_IP22_ZILOG_CONSOLE
  280. depends on ADK_TARGET_SYSTEM_SGI_INDY
  281. default y if ADK_TARGET_SYSTEM_SGI_INDY
  282. default n
  283. help
  284. Serial driver for SGI Indy.
  285. config ADK_LINUX_KERNEL_SERIAL_ATMEL
  286. bool "AT32 serial driver"
  287. select ADK_LINUX_KERNEL_SERIAL_ATMEL_CONSOLE
  288. select ADK_LINUX_KERNEL_SERIAL_ATMEL_PDC
  289. select ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART1 if ADK_TARGET_SYSTEM_GRASSHOPPER
  290. depends on ADK_TARGET_CPU_AVR32
  291. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  292. default n
  293. help
  294. Serial driver for AVR32 Grasshopper boards
  295. config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART0
  296. bool "Enable USART0 on AVR32 Grasshopper boards"
  297. depends on ADK_LINUX_KERNEL_SERIAL_ATMEL && ADK_TARGET_SYSTEM_GRASSHOPPER
  298. default n
  299. help
  300. Enable second USART on Grasshoper boards
  301. endmenu