Config.in.serial 8.7 KB

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