Config.in.serial 8.2 KB

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