Kconfig.debug 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config ARM_PTDUMP
  4. bool "Export kernel pagetable layout to userspace via debugfs"
  5. depends on DEBUG_KERNEL
  6. select DEBUG_FS
  7. ---help---
  8. Say Y here if you want to show the kernel pagetable layout in a
  9. debugfs file. This information is only useful for kernel developers
  10. who are working in architecture specific areas of the kernel.
  11. It is probably not a good idea to enable this feature in a production
  12. kernel.
  13. If in doubt, say "N"
  14. config STRICT_DEVMEM
  15. bool "Filter access to /dev/mem"
  16. depends on MMU
  17. ---help---
  18. If this option is disabled, you allow userspace (root) access to all
  19. of memory, including kernel and userspace memory. Accidental
  20. access to this is obviously disastrous, but specific access can
  21. be used by people debugging the kernel.
  22. If this option is switched on, the /dev/mem file only allows
  23. userspace access to memory mapped peripherals.
  24. If in doubt, say Y.
  25. # RMK wants arm kernels compiled with frame pointers or stack unwinding.
  26. # If you know what you are doing and are willing to live without stack
  27. # traces, you can get a slightly smaller kernel by setting this option to
  28. # n, but then RMK will have to kill you ;).
  29. config FRAME_POINTER
  30. bool
  31. depends on !THUMB2_KERNEL
  32. default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER
  33. help
  34. If you say N here, the resulting kernel will be slightly smaller and
  35. faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled,
  36. when a problem occurs with the kernel, the information that is
  37. reported is severely limited.
  38. config ARM_UNWIND
  39. bool "Enable stack unwinding support (EXPERIMENTAL)"
  40. depends on AEABI
  41. default y
  42. help
  43. This option enables stack unwinding support in the kernel
  44. using the information automatically generated by the
  45. compiler. The resulting kernel image is slightly bigger but
  46. the performance is not affected. Currently, this feature
  47. only works with EABI compilers. If unsure say Y.
  48. config OLD_MCOUNT
  49. bool
  50. depends on FUNCTION_TRACER && FRAME_POINTER
  51. default y
  52. config DEBUG_USER
  53. bool "Verbose user fault messages"
  54. help
  55. When a user program crashes due to an exception, the kernel can
  56. print a brief message explaining what the problem was. This is
  57. sometimes helpful for debugging but serves no purpose on a
  58. production system. Most people should say N here.
  59. In addition, you need to pass user_debug=N on the kernel command
  60. line to enable this feature. N consists of the sum of:
  61. 1 - undefined instruction events
  62. 2 - system calls
  63. 4 - invalid data aborts
  64. 8 - SIGSEGV faults
  65. 16 - SIGBUS faults
  66. # These options are only for real kernel hackers who want to get their hands dirty.
  67. config DEBUG_LL
  68. bool "Kernel low-level debugging functions (read help!)"
  69. depends on DEBUG_KERNEL
  70. help
  71. Say Y here to include definitions of printascii, printch, printhex
  72. in the kernel. This is helpful if you are debugging code that
  73. executes before the console is initialized.
  74. Note that selecting this option will limit the kernel to a single
  75. UART definition, as specified below. Attempting to boot the kernel
  76. image on a different platform *will not work*, so this option should
  77. not be enabled for kernels that are intended to be portable.
  78. choice
  79. prompt "Kernel low-level debugging port"
  80. depends on DEBUG_LL
  81. config DEBUG_ASM9260_UART
  82. bool "Kernel low-level debugging via asm9260 UART"
  83. depends on MACH_ASM9260
  84. help
  85. Say Y here if you want the debug print routines to direct
  86. their output to an UART or USART port on asm9260 based
  87. machines.
  88. DEBUG_UART_PHYS | DEBUG_UART_VIRT
  89. 0x80000000 | 0xf0000000 | UART0
  90. 0x80004000 | 0xf0004000 | UART1
  91. 0x80008000 | 0xf0008000 | UART2
  92. 0x8000c000 | 0xf000c000 | UART3
  93. 0x80010000 | 0xf0010000 | UART4
  94. 0x80014000 | 0xf0014000 | UART5
  95. 0x80018000 | 0xf0018000 | UART6
  96. 0x8001c000 | 0xf001c000 | UART7
  97. 0x80020000 | 0xf0020000 | UART8
  98. 0x80024000 | 0xf0024000 | UART9
  99. config AT91_DEBUG_LL_DBGU0
  100. bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10 and 9rl"
  101. depends on HAVE_AT91_DBGU0
  102. config AT91_DEBUG_LL_DBGU1
  103. bool "Kernel low-level debugging on 9263 and 9g45"
  104. depends on HAVE_AT91_DBGU1
  105. config AT91_DEBUG_LL_DBGU2
  106. bool "Kernel low-level debugging on sama5d4"
  107. depends on HAVE_AT91_DBGU2
  108. config DEBUG_BCM2835
  109. bool "Kernel low-level debugging on BCM2835 PL011 UART"
  110. depends on ARCH_BCM2835
  111. select DEBUG_UART_PL01X
  112. config DEBUG_BCM_5301X
  113. bool "Kernel low-level debugging on BCM5301X UART1"
  114. depends on ARCH_BCM_5301X
  115. select DEBUG_UART_8250
  116. config DEBUG_BCM_KONA_UART
  117. bool "Kernel low-level debugging messages via BCM KONA UART"
  118. depends on ARCH_BCM_MOBILE
  119. select DEBUG_UART_8250
  120. help
  121. Say Y here if you want kernel low-level debugging support
  122. on Broadcom SoC platforms.
  123. This low level debug works for Broadcom
  124. mobile SoCs in the Kona family of chips (e.g. bcm28155,
  125. bcm11351, etc...)
  126. config DEBUG_BCM63XX
  127. bool "Kernel low-level debugging on BCM63XX UART"
  128. depends on ARCH_BCM_63XX
  129. select DEBUG_UART_BCM63XX
  130. config DEBUG_BERLIN_UART
  131. bool "Marvell Berlin SoC Debug UART"
  132. depends on ARCH_BERLIN
  133. select DEBUG_UART_8250
  134. help
  135. Say Y here if you want kernel low-level debugging support
  136. on Marvell Berlin SoC based platforms.
  137. config DEBUG_BRCMSTB_UART
  138. bool "Use BRCMSTB UART for low-level debug"
  139. depends on ARCH_BRCMSTB
  140. select DEBUG_UART_8250
  141. help
  142. Say Y here if you want the debug print routines to direct
  143. their output to the first serial port on these devices.
  144. If you have a Broadcom STB chip and would like early print
  145. messages to appear over the UART, select this option.
  146. config DEBUG_CLPS711X_UART1
  147. bool "Kernel low-level debugging messages via UART1"
  148. depends on ARCH_CLPS711X
  149. help
  150. Say Y here if you want the debug print routines to direct
  151. their output to the first serial port on these devices.
  152. config DEBUG_CLPS711X_UART2
  153. bool "Kernel low-level debugging messages via UART2"
  154. depends on ARCH_CLPS711X
  155. help
  156. Say Y here if you want the debug print routines to direct
  157. their output to the second serial port on these devices.
  158. config DEBUG_CNS3XXX
  159. bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
  160. depends on ARCH_CNS3XXX
  161. select DEBUG_UART_8250
  162. help
  163. Say Y here if you want the debug print routines to direct
  164. their output to the CNS3xxx UART0.
  165. config DEBUG_DAVINCI_DA8XX_UART1
  166. bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
  167. depends on ARCH_DAVINCI_DA8XX
  168. select DEBUG_UART_8250
  169. help
  170. Say Y here if you want the debug print routines to direct
  171. their output to UART1 serial port on DaVinci DA8XX devices.
  172. config DEBUG_DAVINCI_DA8XX_UART2
  173. bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
  174. depends on ARCH_DAVINCI_DA8XX
  175. select DEBUG_UART_8250
  176. help
  177. Say Y here if you want the debug print routines to direct
  178. their output to UART2 serial port on DaVinci DA8XX devices.
  179. config DEBUG_DAVINCI_DMx_UART0
  180. bool "Kernel low-level debugging on DaVinci DMx using UART0"
  181. depends on ARCH_DAVINCI_DMx
  182. select DEBUG_UART_8250
  183. help
  184. Say Y here if you want the debug print routines to direct
  185. their output to UART0 serial port on DaVinci DMx devices.
  186. config DEBUG_ZYNQ_UART0
  187. bool "Kernel low-level debugging on Xilinx Zynq using UART0"
  188. depends on ARCH_ZYNQ
  189. help
  190. Say Y here if you want the debug print routines to direct
  191. their output to UART0 on the Zynq platform.
  192. config DEBUG_ZYNQ_UART1
  193. bool "Kernel low-level debugging on Xilinx Zynq using UART1"
  194. depends on ARCH_ZYNQ
  195. help
  196. Say Y here if you want the debug print routines to direct
  197. their output to UART1 on the Zynq platform.
  198. If you have a ZC702 board and want early boot messages to
  199. appear on the USB serial adaptor, select this option.
  200. config DEBUG_DC21285_PORT
  201. bool "Kernel low-level debugging messages via footbridge serial port"
  202. depends on FOOTBRIDGE
  203. help
  204. Say Y here if you want the debug print routines to direct
  205. their output to the serial port in the DC21285 (Footbridge).
  206. config DEBUG_FOOTBRIDGE_COM1
  207. bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
  208. depends on FOOTBRIDGE
  209. help
  210. Say Y here if you want the debug print routines to direct
  211. their output to the 8250 at PCI COM1.
  212. config DEBUG_HI3620_UART
  213. bool "Hisilicon HI3620 Debug UART"
  214. depends on ARCH_HI3xxx
  215. select DEBUG_UART_PL01X
  216. help
  217. Say Y here if you want kernel low-level debugging support
  218. on HI3620 UART.
  219. config DEBUG_HI3716_UART
  220. bool "Hisilicon Hi3716 Debug UART"
  221. depends on ARCH_HI3xxx
  222. select DEBUG_UART_PL01X
  223. help
  224. Say Y here if you want kernel low-level debugging support
  225. on HI3716 UART.
  226. config DEBUG_HIGHBANK_UART
  227. bool "Kernel low-level debugging messages via Highbank UART"
  228. depends on ARCH_HIGHBANK
  229. select DEBUG_UART_PL01X
  230. help
  231. Say Y here if you want the debug print routines to direct
  232. their output to the UART on Highbank based devices.
  233. config DEBUG_HIP04_UART
  234. bool "Hisilicon HiP04 Debug UART"
  235. depends on ARCH_HIP04
  236. select DEBUG_UART_8250
  237. help
  238. Say Y here if you want kernel low-level debugging support
  239. on HIP04 UART.
  240. config DEBUG_HIX5HD2_UART
  241. bool "Hisilicon Hix5hd2 Debug UART"
  242. depends on ARCH_HIX5HD2
  243. select DEBUG_UART_PL01X
  244. help
  245. Say Y here if you want kernel low-level debugging support
  246. on Hix5hd2 UART.
  247. config DEBUG_IMX1_UART
  248. bool "i.MX1 Debug UART"
  249. depends on SOC_IMX1
  250. help
  251. Say Y here if you want kernel low-level debugging support
  252. on i.MX1.
  253. config DEBUG_IMX23_UART
  254. bool "i.MX23 Debug UART"
  255. depends on SOC_IMX23
  256. select DEBUG_UART_PL01X
  257. help
  258. Say Y here if you want kernel low-level debugging support
  259. on i.MX23.
  260. config DEBUG_IMX25_UART
  261. bool "i.MX25 Debug UART"
  262. depends on SOC_IMX25
  263. help
  264. Say Y here if you want kernel low-level debugging support
  265. on i.MX25.
  266. config DEBUG_IMX21_IMX27_UART
  267. bool "i.MX21 and i.MX27 Debug UART"
  268. depends on SOC_IMX21 || SOC_IMX27
  269. help
  270. Say Y here if you want kernel low-level debugging support
  271. on i.MX21 or i.MX27.
  272. config DEBUG_IMX28_UART
  273. bool "i.MX28 Debug UART"
  274. depends on SOC_IMX28
  275. select DEBUG_UART_PL01X
  276. help
  277. Say Y here if you want kernel low-level debugging support
  278. on i.MX28.
  279. config DEBUG_IMX31_UART
  280. bool "i.MX31 Debug UART"
  281. depends on SOC_IMX31
  282. help
  283. Say Y here if you want kernel low-level debugging support
  284. on i.MX31.
  285. config DEBUG_IMX35_UART
  286. bool "i.MX35 Debug UART"
  287. depends on SOC_IMX35
  288. help
  289. Say Y here if you want kernel low-level debugging support
  290. on i.MX35.
  291. config DEBUG_IMX50_UART
  292. bool "i.MX50 Debug UART"
  293. depends on SOC_IMX50
  294. help
  295. Say Y here if you want kernel low-level debugging support
  296. on i.MX50.
  297. config DEBUG_IMX51_UART
  298. bool "i.MX51 Debug UART"
  299. depends on SOC_IMX51
  300. help
  301. Say Y here if you want kernel low-level debugging support
  302. on i.MX51.
  303. config DEBUG_IMX53_UART
  304. bool "i.MX53 Debug UART"
  305. depends on SOC_IMX53
  306. help
  307. Say Y here if you want kernel low-level debugging support
  308. on i.MX53.
  309. config DEBUG_IMX6Q_UART
  310. bool "i.MX6Q/DL Debug UART"
  311. depends on SOC_IMX6Q
  312. help
  313. Say Y here if you want kernel low-level debugging support
  314. on i.MX6Q/DL.
  315. config DEBUG_IMX6SL_UART
  316. bool "i.MX6SL Debug UART"
  317. depends on SOC_IMX6SL
  318. help
  319. Say Y here if you want kernel low-level debugging support
  320. on i.MX6SL.
  321. config DEBUG_IMX6SX_UART
  322. bool "i.MX6SX Debug UART"
  323. depends on SOC_IMX6SX
  324. help
  325. Say Y here if you want kernel low-level debugging support
  326. on i.MX6SX.
  327. config DEBUG_KEYSTONE_UART0
  328. bool "Kernel low-level debugging on KEYSTONE2 using UART0"
  329. depends on ARCH_KEYSTONE
  330. select DEBUG_UART_8250
  331. help
  332. Say Y here if you want the debug print routines to direct
  333. their output to UART0 serial port on KEYSTONE2 devices.
  334. config DEBUG_KEYSTONE_UART1
  335. bool "Kernel low-level debugging on KEYSTONE2 using UART1"
  336. depends on ARCH_KEYSTONE
  337. select DEBUG_UART_8250
  338. help
  339. Say Y here if you want the debug print routines to direct
  340. their output to UART1 serial port on KEYSTONE2 devices.
  341. config DEBUG_MESON_UARTAO
  342. bool "Kernel low-level debugging via Meson6 UARTAO"
  343. depends on ARCH_MESON
  344. help
  345. Say Y here if you want kernel low-lever debugging support
  346. on Amlogic Meson6 based platforms on the UARTAO.
  347. config DEBUG_MMP_UART2
  348. bool "Kernel low-level debugging message via MMP UART2"
  349. depends on ARCH_MMP
  350. select DEBUG_UART_8250
  351. help
  352. Say Y here if you want kernel low-level debugging support
  353. on MMP UART2.
  354. config DEBUG_MMP_UART3
  355. bool "Kernel low-level debugging message via MMP UART3"
  356. depends on ARCH_MMP
  357. select DEBUG_UART_8250
  358. help
  359. Say Y here if you want kernel low-level debugging support
  360. on MMP UART3.
  361. config DEBUG_MSM_UART
  362. bool "Kernel low-level debugging messages via MSM UART"
  363. depends on ARCH_MSM
  364. help
  365. Say Y here if you want the debug print routines to direct
  366. their output to the serial port on MSM devices.
  367. ARCH DEBUG_UART_PHYS DEBUG_UART_BASE #
  368. MSM7X00A, QSD8X50 0xa9a00000 0xe1000000 UART1
  369. MSM7X00A, QSD8X50 0xa9b00000 0xe1000000 UART2
  370. MSM7X00A, QSD8X50 0xa9c00000 0xe1000000 UART3
  371. MSM7X30 0xaca00000 0xe1000000 UART1
  372. MSM7X30 0xacb00000 0xe1000000 UART2
  373. MSM7X30 0xacc00000 0xe1000000 UART3
  374. Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
  375. options based on your needs.
  376. config DEBUG_QCOM_UARTDM
  377. bool "Kernel low-level debugging messages via QCOM UARTDM"
  378. depends on ARCH_QCOM
  379. help
  380. Say Y here if you want the debug print routines to direct
  381. their output to the serial port on Qualcomm devices.
  382. ARCH DEBUG_UART_PHYS DEBUG_UART_BASE
  383. APQ8084 0xf995e000 0xfa75e000
  384. MSM8X60 0x19c40000 0xf0040000
  385. MSM8960 0x16440000 0xf0040000
  386. MSM8974 0xf991e000 0xfa71e000
  387. Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
  388. options based on your needs.
  389. config DEBUG_MVEBU_UART
  390. bool "Kernel low-level debugging messages via MVEBU UART (old bootloaders)"
  391. depends on ARCH_MVEBU
  392. select DEBUG_UART_8250
  393. help
  394. Say Y here if you want kernel low-level debugging support
  395. on MVEBU based platforms.
  396. This option should be used with the old bootloaders
  397. that left the internal registers mapped at
  398. 0xd0000000. As of today, this is the case on
  399. platforms such as the Globalscale Mirabox or the
  400. Plathome OpenBlocks AX3, when using the original
  401. bootloader.
  402. If the wrong DEBUG_MVEBU_UART* option is selected,
  403. when u-boot hands over to the kernel, the system
  404. silently crashes, with no serial output at all.
  405. config DEBUG_MVEBU_UART_ALTERNATE
  406. bool "Kernel low-level debugging messages via MVEBU UART (new bootloaders)"
  407. depends on ARCH_MVEBU
  408. select DEBUG_UART_8250
  409. help
  410. Say Y here if you want kernel low-level debugging support
  411. on MVEBU based platforms.
  412. This option should be used with the new bootloaders
  413. that remap the internal registers at 0xf1000000.
  414. If the wrong DEBUG_MVEBU_UART* option is selected,
  415. when u-boot hands over to the kernel, the system
  416. silently crashes, with no serial output at all.
  417. config DEBUG_VF_UART
  418. bool "Vybrid UART"
  419. depends on SOC_VF610
  420. help
  421. Say Y here if you want kernel low-level debugging support
  422. on Vybrid based platforms.
  423. config DEBUG_NOMADIK_UART
  424. bool "Kernel low-level debugging messages via NOMADIK UART"
  425. depends on ARCH_NOMADIK
  426. select DEBUG_UART_PL01X
  427. help
  428. Say Y here if you want kernel low-level debugging support
  429. on NOMADIK based platforms.
  430. config DEBUG_NSPIRE_CLASSIC_UART
  431. bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
  432. depends on ARCH_NSPIRE
  433. select DEBUG_UART_8250
  434. help
  435. Say Y here if you want kernel low-level debugging support
  436. on TI-NSPIRE classic models.
  437. config DEBUG_NSPIRE_CX_UART
  438. bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
  439. depends on ARCH_NSPIRE
  440. select DEBUG_UART_PL01X
  441. help
  442. Say Y here if you want kernel low-level debugging support
  443. on TI-NSPIRE CX models.
  444. config DEBUG_OMAP2UART1
  445. bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
  446. depends on ARCH_OMAP2PLUS
  447. select DEBUG_OMAP2PLUS_UART
  448. help
  449. This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
  450. omap3 torpedo and 3530 lv som.
  451. config DEBUG_OMAP2UART2
  452. bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
  453. depends on ARCH_OMAP2PLUS
  454. select DEBUG_OMAP2PLUS_UART
  455. config DEBUG_OMAP2UART3
  456. bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
  457. depends on ARCH_OMAP2PLUS
  458. select DEBUG_OMAP2PLUS_UART
  459. config DEBUG_OMAP3UART3
  460. bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
  461. depends on ARCH_OMAP2PLUS
  462. select DEBUG_OMAP2PLUS_UART
  463. help
  464. This covers at least cm_t3x, beagle, crane, devkit8000,
  465. igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
  466. and 3517evm.
  467. config DEBUG_OMAP4UART3
  468. bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
  469. depends on ARCH_OMAP2PLUS
  470. select DEBUG_OMAP2PLUS_UART
  471. config DEBUG_OMAP3UART4
  472. bool "Kernel low-level debugging messages via OMAP36XX UART4"
  473. depends on ARCH_OMAP2PLUS
  474. select DEBUG_OMAP2PLUS_UART
  475. config DEBUG_OMAP4UART4
  476. bool "Kernel low-level debugging messages via OMAP4/5 UART4"
  477. depends on ARCH_OMAP2PLUS
  478. select DEBUG_OMAP2PLUS_UART
  479. config DEBUG_TI81XXUART1
  480. bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
  481. depends on ARCH_OMAP2PLUS
  482. select DEBUG_OMAP2PLUS_UART
  483. config DEBUG_TI81XXUART2
  484. bool "Kernel low-level debugging messages via TI81XX UART2"
  485. depends on ARCH_OMAP2PLUS
  486. select DEBUG_OMAP2PLUS_UART
  487. config DEBUG_TI81XXUART3
  488. bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
  489. depends on ARCH_OMAP2PLUS
  490. select DEBUG_OMAP2PLUS_UART
  491. config DEBUG_AM33XXUART1
  492. bool "Kernel low-level debugging messages via AM33XX UART1"
  493. depends on ARCH_OMAP2PLUS
  494. select DEBUG_OMAP2PLUS_UART
  495. config DEBUG_ZOOM_UART
  496. bool "Kernel low-level debugging messages via Zoom2/3 UART"
  497. depends on ARCH_OMAP2PLUS
  498. select DEBUG_OMAP2PLUS_UART
  499. config DEBUG_PICOXCELL_UART
  500. depends on ARCH_PICOXCELL
  501. bool "Use PicoXcell UART for low-level debug"
  502. select DEBUG_UART_8250
  503. help
  504. Say Y here if you want kernel low-level debugging support
  505. on PicoXcell based platforms.
  506. config DEBUG_PXA_UART1
  507. depends on ARCH_PXA
  508. bool "Use PXA UART1 for low-level debug"
  509. select DEBUG_UART_8250
  510. help
  511. Say Y here if you want kernel low-level debugging support
  512. on PXA UART1.
  513. config DEBUG_REALVIEW_STD_PORT
  514. bool "RealView Default UART"
  515. depends on ARCH_REALVIEW
  516. select DEBUG_UART_PL01X
  517. help
  518. Say Y here if you want the debug print routines to direct
  519. their output to the serial port on RealView EB, PB11MP, PBA8
  520. and PBX platforms.
  521. config DEBUG_REALVIEW_PB1176_PORT
  522. bool "RealView PB1176 UART"
  523. depends on MACH_REALVIEW_PB1176
  524. select DEBUG_UART_PL01X
  525. help
  526. Say Y here if you want the debug print routines to direct
  527. their output to the standard serial port on the RealView
  528. PB1176 platform.
  529. config DEBUG_RK29_UART0
  530. bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
  531. depends on ARCH_ROCKCHIP
  532. select DEBUG_UART_8250
  533. help
  534. Say Y here if you want kernel low-level debugging support
  535. on Rockchip based platforms.
  536. config DEBUG_RK29_UART1
  537. bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
  538. depends on ARCH_ROCKCHIP
  539. select DEBUG_UART_8250
  540. help
  541. Say Y here if you want kernel low-level debugging support
  542. on Rockchip based platforms.
  543. config DEBUG_RK29_UART2
  544. bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
  545. depends on ARCH_ROCKCHIP
  546. select DEBUG_UART_8250
  547. help
  548. Say Y here if you want kernel low-level debugging support
  549. on Rockchip based platforms.
  550. config DEBUG_RK3X_UART0
  551. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
  552. depends on ARCH_ROCKCHIP
  553. select DEBUG_UART_8250
  554. help
  555. Say Y here if you want kernel low-level debugging support
  556. on Rockchip based platforms.
  557. config DEBUG_RK3X_UART1
  558. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
  559. depends on ARCH_ROCKCHIP
  560. select DEBUG_UART_8250
  561. help
  562. Say Y here if you want kernel low-level debugging support
  563. on Rockchip based platforms.
  564. config DEBUG_RK3X_UART2
  565. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
  566. depends on ARCH_ROCKCHIP
  567. select DEBUG_UART_8250
  568. help
  569. Say Y here if you want kernel low-level debugging support
  570. on Rockchip based platforms.
  571. config DEBUG_RK3X_UART3
  572. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
  573. depends on ARCH_ROCKCHIP
  574. select DEBUG_UART_8250
  575. help
  576. Say Y here if you want kernel low-level debugging support
  577. on Rockchip based platforms.
  578. config DEBUG_RK32_UART2
  579. bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
  580. depends on ARCH_ROCKCHIP
  581. select DEBUG_UART_8250
  582. help
  583. Say Y here if you want kernel low-level debugging support
  584. on Rockchip RK32xx based platforms.
  585. config DEBUG_R7S72100_SCIF2
  586. bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
  587. depends on ARCH_R7S72100
  588. help
  589. Say Y here if you want kernel low-level debugging support
  590. via SCIF2 on Renesas RZ/A1H (R7S72100).
  591. config DEBUG_RCAR_GEN1_SCIF0
  592. bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
  593. depends on ARCH_R8A7778
  594. help
  595. Say Y here if you want kernel low-level debugging support
  596. via SCIF0 on Renesas R-Car M1A (R8A7778).
  597. config DEBUG_RCAR_GEN1_SCIF2
  598. bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
  599. depends on ARCH_R8A7779
  600. help
  601. Say Y here if you want kernel low-level debugging support
  602. via SCIF2 on Renesas R-Car H1 (R8A7779).
  603. config DEBUG_RCAR_GEN2_SCIF0
  604. bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793)"
  605. depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793
  606. help
  607. Say Y here if you want kernel low-level debugging support
  608. via SCIF0 on Renesas R-Car H2 (R8A7790), M2-W (R8A7791), or
  609. M2-N (R8A7793).
  610. config DEBUG_RCAR_GEN2_SCIF2
  611. bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
  612. depends on ARCH_R8A7794
  613. help
  614. Say Y here if you want kernel low-level debugging support
  615. via SCIF2 on Renesas R-Car E2 (R8A7794).
  616. config DEBUG_RMOBILE_SCIFA0
  617. bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4/SH7372"
  618. depends on ARCH_R8A73A4 || ARCH_SH7372
  619. help
  620. Say Y here if you want kernel low-level debugging support
  621. via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4) or SH-Mobile
  622. AP4 (SH7372).
  623. config DEBUG_RMOBILE_SCIFA1
  624. bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
  625. depends on ARCH_R8A7740
  626. help
  627. Say Y here if you want kernel low-level debugging support
  628. via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
  629. config DEBUG_RMOBILE_SCIFA4
  630. bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
  631. depends on ARCH_SH73A0
  632. help
  633. Say Y here if you want kernel low-level debugging support
  634. via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
  635. config DEBUG_S3C_UART0
  636. depends on PLAT_SAMSUNG
  637. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  638. select DEBUG_S3C24XX_UART if ARCH_S3C24XX
  639. select DEBUG_S5PV210_UART if ARCH_S5PV210
  640. bool "Use Samsung S3C UART 0 for low-level debug"
  641. help
  642. Say Y here if you want the debug print routines to direct
  643. their output to UART 0. The port must have been initialised
  644. by the boot-loader before use.
  645. config DEBUG_S3C_UART1
  646. depends on PLAT_SAMSUNG
  647. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  648. select DEBUG_S3C24XX_UART if ARCH_S3C24XX
  649. select DEBUG_S5PV210_UART if ARCH_S5PV210
  650. bool "Use Samsung S3C UART 1 for low-level debug"
  651. help
  652. Say Y here if you want the debug print routines to direct
  653. their output to UART 1. The port must have been initialised
  654. by the boot-loader before use.
  655. config DEBUG_S3C_UART2
  656. depends on PLAT_SAMSUNG
  657. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  658. select DEBUG_S3C24XX_UART if ARCH_S3C24XX
  659. select DEBUG_S5PV210_UART if ARCH_S5PV210
  660. bool "Use Samsung S3C UART 2 for low-level debug"
  661. help
  662. Say Y here if you want the debug print routines to direct
  663. their output to UART 2. The port must have been initialised
  664. by the boot-loader before use.
  665. config DEBUG_S3C_UART3
  666. depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210)
  667. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  668. select DEBUG_S5PV210_UART if ARCH_S5PV210
  669. bool "Use Samsung S3C UART 3 for low-level debug"
  670. help
  671. Say Y here if you want the debug print routines to direct
  672. their output to UART 3. The port must have been initialised
  673. by the boot-loader before use.
  674. config DEBUG_S3C2410_UART0
  675. depends on ARCH_S3C24XX
  676. select DEBUG_S3C2410_UART
  677. bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
  678. help
  679. Say Y here if you want the debug print routines to direct
  680. their output to UART 0. The port must have been initialised
  681. by the boot-loader before use.
  682. config DEBUG_S3C2410_UART1
  683. depends on ARCH_S3C24XX
  684. select DEBUG_S3C2410_UART
  685. bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
  686. help
  687. Say Y here if you want the debug print routines to direct
  688. their output to UART 1. The port must have been initialised
  689. by the boot-loader before use.
  690. config DEBUG_S3C2410_UART2
  691. depends on ARCH_S3C24XX
  692. select DEBUG_S3C2410_UART
  693. bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
  694. help
  695. Say Y here if you want the debug print routines to direct
  696. their output to UART 2. The port must have been initialised
  697. by the boot-loader before use.
  698. config DEBUG_SA1100
  699. depends on ARCH_SA1100
  700. bool "Use SA1100 UARTs for low-level debug"
  701. help
  702. Say Y here if you want kernel low-level debugging support
  703. on SA-11x0 UART ports. The kernel will check for the first
  704. enabled UART in a sequence 3-1-2.
  705. config DEBUG_SOCFPGA_UART
  706. depends on ARCH_SOCFPGA
  707. bool "Use SOCFPGA UART for low-level debug"
  708. select DEBUG_UART_8250
  709. help
  710. Say Y here if you want kernel low-level debugging support
  711. on SOCFPGA based platforms.
  712. config DEBUG_SUN9I_UART0
  713. bool "Kernel low-level debugging messages via sun9i UART0"
  714. depends on MACH_SUN9I
  715. select DEBUG_UART_8250
  716. help
  717. Say Y here if you want kernel low-level debugging support
  718. on Allwinner A80 based platforms on the UART0.
  719. config DEBUG_SUNXI_UART0
  720. bool "Kernel low-level debugging messages via sunXi UART0"
  721. depends on ARCH_SUNXI
  722. select DEBUG_UART_8250
  723. help
  724. Say Y here if you want kernel low-level debugging support
  725. on Allwinner A1X based platforms on the UART0.
  726. config DEBUG_SUNXI_UART1
  727. bool "Kernel low-level debugging messages via sunXi UART1"
  728. depends on ARCH_SUNXI
  729. select DEBUG_UART_8250
  730. help
  731. Say Y here if you want kernel low-level debugging support
  732. on Allwinner A1X based platforms on the UART1.
  733. config DEBUG_SUNXI_R_UART
  734. bool "Kernel low-level debugging messages via sunXi R_UART"
  735. depends on MACH_SUN6I || MACH_SUN8I
  736. select DEBUG_UART_8250
  737. help
  738. Say Y here if you want kernel low-level debugging support
  739. on Allwinner A31/A23 based platforms on the R_UART.
  740. config TEGRA_DEBUG_UART_AUTO_ODMDATA
  741. bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
  742. depends on ARCH_TEGRA
  743. select DEBUG_TEGRA_UART
  744. help
  745. Automatically determines which UART to use for low-level
  746. debug based on the ODMDATA value. This value is part of
  747. the BCT, and is written to the boot memory device using
  748. nvflash, or other flashing tool. When bits 19:18 are 3,
  749. then bits 17:15 indicate which UART to use; 0/1/2/3/4
  750. are UART A/B/C/D/E.
  751. config TEGRA_DEBUG_UARTA
  752. bool "Kernel low-level debugging messages via Tegra UART A"
  753. depends on ARCH_TEGRA
  754. select DEBUG_TEGRA_UART
  755. help
  756. Say Y here if you want kernel low-level debugging support
  757. on Tegra based platforms.
  758. config TEGRA_DEBUG_UARTB
  759. bool "Kernel low-level debugging messages via Tegra UART B"
  760. depends on ARCH_TEGRA
  761. select DEBUG_TEGRA_UART
  762. help
  763. Say Y here if you want kernel low-level debugging support
  764. on Tegra based platforms.
  765. config TEGRA_DEBUG_UARTC
  766. bool "Kernel low-level debugging messages via Tegra UART C"
  767. depends on ARCH_TEGRA
  768. select DEBUG_TEGRA_UART
  769. help
  770. Say Y here if you want kernel low-level debugging support
  771. on Tegra based platforms.
  772. config TEGRA_DEBUG_UARTD
  773. bool "Kernel low-level debugging messages via Tegra UART D"
  774. depends on ARCH_TEGRA
  775. select DEBUG_TEGRA_UART
  776. help
  777. Say Y here if you want kernel low-level debugging support
  778. on Tegra based platforms.
  779. config TEGRA_DEBUG_UARTE
  780. bool "Kernel low-level debugging messages via Tegra UART E"
  781. depends on ARCH_TEGRA
  782. select DEBUG_TEGRA_UART
  783. help
  784. Say Y here if you want kernel low-level debugging support
  785. on Tegra based platforms.
  786. config DEBUG_SIRFPRIMA2_UART1
  787. bool "Kernel low-level debugging messages via SiRFprimaII UART1"
  788. depends on ARCH_PRIMA2
  789. help
  790. Say Y here if you want the debug print routines to direct
  791. their output to the uart1 port on SiRFprimaII devices.
  792. config DEBUG_SIRFMARCO_UART1
  793. bool "Kernel low-level debugging messages via SiRFmarco UART1"
  794. depends on ARCH_MARCO
  795. help
  796. Say Y here if you want the debug print routines to direct
  797. their output to the uart1 port on SiRFmarco devices.
  798. config STIH41X_DEBUG_ASC2
  799. bool "Use StiH415/416 ASC2 UART for low-level debug"
  800. depends on ARCH_STI
  801. select DEBUG_STI_UART
  802. help
  803. Say Y here if you want kernel low-level debugging support
  804. on STiH415/416 based platforms like b2000, which has
  805. default UART wired up to ASC2.
  806. If unsure, say N.
  807. config STIH41X_DEBUG_SBC_ASC1
  808. bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
  809. depends on ARCH_STI
  810. select DEBUG_STI_UART
  811. help
  812. Say Y here if you want kernel low-level debugging support
  813. on STiH415/416 based platforms like b2020. which has
  814. default UART wired up to SBC ASC1.
  815. If unsure, say N.
  816. config DEBUG_U300_UART
  817. bool "Kernel low-level debugging messages via U300 UART0"
  818. depends on ARCH_U300
  819. select DEBUG_UART_PL01X
  820. help
  821. Say Y here if you want the debug print routines to direct
  822. their output to the uart port on U300 devices.
  823. config DEBUG_UX500_UART
  824. depends on ARCH_U8500
  825. bool "Use Ux500 UART for low-level debug"
  826. help
  827. Say Y here if you want kernel low-level debugging support
  828. on Ux500 based platforms.
  829. config DEBUG_MT6589_UART0
  830. bool "Mediatek mt6589 UART0"
  831. depends on ARCH_MEDIATEK
  832. select DEBUG_UART_8250
  833. help
  834. Say Y here if you want kernel low-level debugging support
  835. for Mediatek mt6589 based platforms on UART0.
  836. config DEBUG_MT8127_UART0
  837. bool "Mediatek mt8127 UART0"
  838. depends on ARCH_MEDIATEK
  839. select DEBUG_UART_8250
  840. help
  841. Say Y here if you want kernel low-level debugging support
  842. for Mediatek mt8127 based platforms on UART0.
  843. config DEBUG_MT8135_UART3
  844. bool "Mediatek mt8135 UART3"
  845. depends on ARCH_MEDIATEK
  846. select DEBUG_UART_8250
  847. help
  848. Say Y here if you want kernel low-level debugging support
  849. for Mediatek mt8135 based platforms on UART3.
  850. config DEBUG_VEXPRESS_UART0_DETECT
  851. bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
  852. depends on ARCH_VEXPRESS && CPU_CP15_MMU
  853. help
  854. This option enables a simple heuristic which tries to determine
  855. the motherboard's memory map variant (original or RS1) and then
  856. choose the relevant UART0 base address.
  857. Note that this will only work with standard A-class core tiles,
  858. and may fail with non-standard SMM or custom software models.
  859. config DEBUG_VEXPRESS_UART0_CA9
  860. bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
  861. depends on ARCH_VEXPRESS
  862. select DEBUG_UART_PL01X
  863. help
  864. This option selects UART0 at 0x10009000. Except for custom models,
  865. this applies only to the V2P-CA9 tile.
  866. config DEBUG_VEXPRESS_UART0_RS1
  867. bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
  868. depends on ARCH_VEXPRESS
  869. select DEBUG_UART_PL01X
  870. help
  871. This option selects UART0 at 0x1c090000. This applies to most
  872. of the tiles using the RS1 memory map, including all new A-class
  873. core tiles, FPGA-based SMMs and software models.
  874. config DEBUG_VEXPRESS_UART0_CRX
  875. bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
  876. depends on ARCH_VEXPRESS && !MMU
  877. select DEBUG_UART_PL01X
  878. help
  879. This option selects UART0 at 0xb0090000. This is appropriate for
  880. Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
  881. config DEBUG_VT8500_UART0
  882. bool "Use UART0 on VIA/Wondermedia SoCs"
  883. depends on ARCH_VT8500
  884. help
  885. This option selects UART0 on VIA/Wondermedia System-on-a-chip
  886. devices, including VT8500, WM8505, WM8650 and WM8850.
  887. config DEBUG_LL_UART_NONE
  888. bool "No low-level debugging UART"
  889. depends on !ARCH_MULTIPLATFORM
  890. help
  891. Say Y here if your platform doesn't provide a UART option
  892. above. This relies on your platform choosing the right UART
  893. definition internally in order for low-level debugging to
  894. work.
  895. config DEBUG_ICEDCC
  896. bool "Kernel low-level debugging via EmbeddedICE DCC channel"
  897. help
  898. Say Y here if you want the debug print routines to direct
  899. their output to the EmbeddedICE macrocell's DCC channel using
  900. co-processor 14. This is known to work on the ARM9 style ICE
  901. channel and on the XScale with the PEEDI.
  902. Note that the system will appear to hang during boot if there
  903. is nothing connected to read from the DCC.
  904. config DEBUG_SEMIHOSTING
  905. bool "Kernel low-level debug output via semihosting I/O"
  906. help
  907. Semihosting enables code running on an ARM target to use
  908. the I/O facilities on a host debugger/emulator through a
  909. simple SVC call. The host debugger or emulator must have
  910. semihosting enabled for the special svc call to be trapped
  911. otherwise the kernel will crash.
  912. This is known to work with OpenOCD, as well as
  913. ARM's Fast Models, or any other controlling environment
  914. that implements semihosting.
  915. For more details about semihosting, please see
  916. chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
  917. config DEBUG_LL_UART_8250
  918. bool "Kernel low-level debugging via 8250 UART"
  919. help
  920. Say Y here if you wish the debug print routes to direct
  921. their output to an 8250 UART. You can use this option
  922. to provide the parameters for the 8250 UART rather than
  923. selecting one of the platform specific options above if
  924. you know the parameters for the port.
  925. This option is preferred over the platform specific
  926. options; the platform specific options are deprecated
  927. and will be soon removed.
  928. config DEBUG_LL_UART_EFM32
  929. bool "Kernel low-level debugging via efm32 UART"
  930. depends on ARCH_EFM32
  931. help
  932. Say Y here if you want the debug print routines to direct
  933. their output to an UART or USART port on efm32 based
  934. machines. Use the following addresses for DEBUG_UART_PHYS:
  935. 0x4000c000 | USART0
  936. 0x4000c400 | USART1
  937. 0x4000c800 | USART2
  938. 0x4000e000 | UART0
  939. 0x4000e400 | UART1
  940. config DEBUG_LL_UART_PL01X
  941. bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
  942. help
  943. Say Y here if you wish the debug print routes to direct
  944. their output to a PL01x Primecell UART. You can use
  945. this option to provide the parameters for the UART
  946. rather than selecting one of the platform specific
  947. options above if you know the parameters for the port.
  948. This option is preferred over the platform specific
  949. options; the platform specific options are deprecated
  950. and will be soon removed.
  951. endchoice
  952. config DEBUG_EXYNOS_UART
  953. bool
  954. config DEBUG_S3C2410_UART
  955. bool
  956. select DEBUG_S3C24XX_UART
  957. config DEBUG_S3C24XX_UART
  958. bool
  959. config DEBUG_S5PV210_UART
  960. bool
  961. config DEBUG_OMAP2PLUS_UART
  962. bool
  963. depends on ARCH_OMAP2PLUS
  964. config DEBUG_IMX_UART_PORT
  965. int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
  966. DEBUG_IMX25_UART || \
  967. DEBUG_IMX21_IMX27_UART || \
  968. DEBUG_IMX31_UART || \
  969. DEBUG_IMX35_UART || \
  970. DEBUG_IMX50_UART || \
  971. DEBUG_IMX51_UART || \
  972. DEBUG_IMX53_UART || \
  973. DEBUG_IMX6Q_UART || \
  974. DEBUG_IMX6SL_UART || \
  975. DEBUG_IMX6SX_UART
  976. default 1
  977. depends on ARCH_MXC
  978. help
  979. Choose UART port on which kernel low-level debug messages
  980. should be output.
  981. config DEBUG_VF_UART_PORT
  982. int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
  983. default 1
  984. range 0 3
  985. depends on SOC_VF610
  986. help
  987. Choose UART port on which kernel low-level debug messages
  988. should be output.
  989. config DEBUG_TEGRA_UART
  990. bool
  991. depends on ARCH_TEGRA
  992. config DEBUG_STI_UART
  993. bool
  994. depends on ARCH_STI
  995. config DEBUG_LL_INCLUDE
  996. string
  997. default "debug/sa1100.S" if DEBUG_SA1100
  998. default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
  999. default "debug/asm9260.S" if DEBUG_ASM9260_UART
  1000. default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
  1001. default "debug/meson.S" if DEBUG_MESON_UARTAO
  1002. default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
  1003. default "debug/exynos.S" if DEBUG_EXYNOS_UART
  1004. default "debug/efm32.S" if DEBUG_LL_UART_EFM32
  1005. default "debug/icedcc.S" if DEBUG_ICEDCC
  1006. default "debug/imx.S" if DEBUG_IMX1_UART || \
  1007. DEBUG_IMX25_UART || \
  1008. DEBUG_IMX21_IMX27_UART || \
  1009. DEBUG_IMX31_UART || \
  1010. DEBUG_IMX35_UART || \
  1011. DEBUG_IMX50_UART || \
  1012. DEBUG_IMX51_UART || \
  1013. DEBUG_IMX53_UART ||\
  1014. DEBUG_IMX6Q_UART || \
  1015. DEBUG_IMX6SL_UART || \
  1016. DEBUG_IMX6SX_UART
  1017. default "debug/msm.S" if DEBUG_MSM_UART || DEBUG_QCOM_UARTDM
  1018. default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
  1019. default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
  1020. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
  1021. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
  1022. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
  1023. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
  1024. default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
  1025. default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
  1026. default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
  1027. default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART
  1028. default "debug/s5pv210.S" if DEBUG_S5PV210_UART
  1029. default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
  1030. default "debug/sti.S" if DEBUG_STI_UART
  1031. default "debug/tegra.S" if DEBUG_TEGRA_UART
  1032. default "debug/ux500.S" if DEBUG_UX500_UART
  1033. default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
  1034. default "debug/vf.S" if DEBUG_VF_UART
  1035. default "debug/vt8500.S" if DEBUG_VT8500_UART0
  1036. default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
  1037. default "debug/bcm63xx.S" if DEBUG_UART_BCM63XX
  1038. default "mach/debug-macro.S"
  1039. # Compatibility options for PL01x
  1040. config DEBUG_UART_PL01X
  1041. def_bool ARCH_EP93XX || \
  1042. ARCH_INTEGRATOR || \
  1043. ARCH_SPEAR3XX || \
  1044. ARCH_SPEAR6XX || \
  1045. ARCH_SPEAR13XX || \
  1046. ARCH_VERSATILE
  1047. # Compatibility options for 8250
  1048. config DEBUG_UART_8250
  1049. def_bool ARCH_DOVE || ARCH_EBSA110 || \
  1050. (FOOTBRIDGE && !DEBUG_DC21285_PORT) || \
  1051. ARCH_GEMINI || ARCH_IOP13XX || ARCH_IOP32X || \
  1052. ARCH_IOP33X || ARCH_IXP4XX || \
  1053. ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC
  1054. # Compatibility options for BCM63xx
  1055. config DEBUG_UART_BCM63XX
  1056. def_bool ARCH_BCM_63XX
  1057. config DEBUG_UART_PHYS
  1058. hex "Physical base address of debug UART"
  1059. default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
  1060. default 0x01c28000 if DEBUG_SUNXI_UART0
  1061. default 0x01c28400 if DEBUG_SUNXI_UART1
  1062. default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
  1063. default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
  1064. default 0x01f02800 if DEBUG_SUNXI_R_UART
  1065. default 0x02530c00 if DEBUG_KEYSTONE_UART0
  1066. default 0x02531000 if DEBUG_KEYSTONE_UART1
  1067. default 0x03010fe0 if ARCH_RPC
  1068. default 0x07000000 if DEBUG_SUN9I_UART0
  1069. default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
  1070. DEBUG_VEXPRESS_UART0_CA9
  1071. default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
  1072. default 0x10124000 if DEBUG_RK3X_UART0
  1073. default 0x10126000 if DEBUG_RK3X_UART1
  1074. default 0x101f1000 if ARCH_VERSATILE
  1075. default 0x101fb000 if DEBUG_NOMADIK_UART
  1076. default 0x11002000 if DEBUG_MT8127_UART0
  1077. default 0x11006000 if DEBUG_MT6589_UART0
  1078. default 0x11009000 if DEBUG_MT8135_UART3
  1079. default 0x16000000 if ARCH_INTEGRATOR
  1080. default 0x18000300 if DEBUG_BCM_5301X
  1081. default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
  1082. default 0x20060000 if DEBUG_RK29_UART0
  1083. default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
  1084. default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
  1085. default 0x20201000 if DEBUG_BCM2835
  1086. default 0x3e000000 if DEBUG_BCM_KONA_UART
  1087. default 0x4000e400 if DEBUG_LL_UART_EFM32
  1088. default 0x40090000 if ARCH_LPC32XX
  1089. default 0x40100000 if DEBUG_PXA_UART1
  1090. default 0x42000000 if ARCH_GEMINI
  1091. default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
  1092. DEBUG_S3C2410_UART0)
  1093. default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
  1094. DEBUG_S3C2410_UART1)
  1095. default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
  1096. DEBUG_S3C2410_UART2)
  1097. default 0x78000000 if DEBUG_CNS3XXX
  1098. default 0x7c0003f8 if FOOTBRIDGE
  1099. default 0x78000000 if DEBUG_CNS3XXX
  1100. default 0x80010000 if DEBUG_ASM9260_UART
  1101. default 0x80070000 if DEBUG_IMX23_UART
  1102. default 0x80074000 if DEBUG_IMX28_UART
  1103. default 0x80230000 if DEBUG_PICOXCELL_UART
  1104. default 0x808c0000 if ARCH_EP93XX
  1105. default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
  1106. default 0xa9a00000 if DEBUG_MSM_UART
  1107. default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
  1108. default 0xc0013000 if DEBUG_U300_UART
  1109. default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
  1110. default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
  1111. default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
  1112. default 0xd0012000 if DEBUG_MVEBU_UART
  1113. default 0xc81004c0 if DEBUG_MESON_UARTAO
  1114. default 0xd4017000 if DEBUG_MMP_UART2
  1115. default 0xd4018000 if DEBUG_MMP_UART3
  1116. default 0xe0000000 if ARCH_SPEAR13XX
  1117. default 0xe4007000 if DEBUG_HIP04_UART
  1118. default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
  1119. default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
  1120. default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
  1121. default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
  1122. default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
  1123. default 0xe8008000 if DEBUG_R7S72100_SCIF2
  1124. default 0xf0000be0 if ARCH_EBSA110
  1125. default 0xf040ab00 if DEBUG_BRCMSTB_UART
  1126. default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE
  1127. default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \
  1128. ARCH_ORION5X
  1129. default 0xf7fc9000 if DEBUG_BERLIN_UART
  1130. default 0xf8b00000 if DEBUG_HIX5HD2_UART
  1131. default 0xf991e000 if DEBUG_QCOM_UARTDM
  1132. default 0xfcb00000 if DEBUG_HI3620_UART
  1133. default 0xfe800000 if ARCH_IOP32X
  1134. default 0xff690000 if DEBUG_RK32_UART2
  1135. default 0xffc02000 if DEBUG_SOCFPGA_UART
  1136. default 0xffd82340 if ARCH_IOP13XX
  1137. default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
  1138. default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
  1139. default 0xfff36000 if DEBUG_HIGHBANK_UART
  1140. default 0xfffe8600 if DEBUG_UART_BCM63XX
  1141. default 0xfffff700 if ARCH_IOP33X
  1142. depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
  1143. DEBUG_LL_UART_EFM32 || \
  1144. DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
  1145. DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
  1146. DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
  1147. DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \
  1148. DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
  1149. DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
  1150. DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART
  1151. config DEBUG_UART_VIRT
  1152. hex "Virtual base address of debug UART"
  1153. default 0xe0010fe0 if ARCH_RPC
  1154. default 0xe1000000 if DEBUG_MSM_UART
  1155. default 0xf0000be0 if ARCH_EBSA110
  1156. default 0xf0010000 if DEBUG_ASM9260_UART
  1157. default 0xf01fb000 if DEBUG_NOMADIK_UART
  1158. default 0xf0201000 if DEBUG_BCM2835
  1159. default 0xf1000300 if DEBUG_BCM_5301X
  1160. default 0xf1002000 if DEBUG_MT8127_UART0
  1161. default 0xf1006000 if DEBUG_MT6589_UART0
  1162. default 0xf1009000 if DEBUG_MT8135_UART3
  1163. default 0xf11f1000 if ARCH_VERSATILE
  1164. default 0xf1600000 if ARCH_INTEGRATOR
  1165. default 0xf1c28000 if DEBUG_SUNXI_UART0
  1166. default 0xf1c28400 if DEBUG_SUNXI_UART1
  1167. default 0xf1f02800 if DEBUG_SUNXI_R_UART
  1168. default 0xf6200000 if DEBUG_PXA_UART1
  1169. default 0xf4090000 if ARCH_LPC32XX
  1170. default 0xf4200000 if ARCH_GEMINI
  1171. default 0xf7000000 if DEBUG_SUN9I_UART0
  1172. default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
  1173. DEBUG_S3C2410_UART0)
  1174. default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
  1175. DEBUG_S3C2410_UART1)
  1176. default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
  1177. DEBUG_S3C2410_UART2)
  1178. default 0xf7fc9000 if DEBUG_BERLIN_UART
  1179. default 0xf8007000 if DEBUG_HIP04_UART
  1180. default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
  1181. default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
  1182. default 0xfa71e000 if DEBUG_QCOM_UARTDM
  1183. default 0xfb002000 if DEBUG_CNS3XXX
  1184. default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
  1185. default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
  1186. default 0xfc40ab00 if DEBUG_BRCMSTB_UART
  1187. default 0xfcfe8600 if DEBUG_UART_BCM63XX
  1188. default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
  1189. default 0xfd000000 if ARCH_SPEAR13XX
  1190. default 0xfd012000 if ARCH_MV78XX0
  1191. default 0xfde12000 if ARCH_DOVE
  1192. default 0xfe012000 if ARCH_ORION5X
  1193. default 0xf31004c0 if DEBUG_MESON_UARTAO
  1194. default 0xfe017000 if DEBUG_MMP_UART2
  1195. default 0xfe018000 if DEBUG_MMP_UART3
  1196. default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
  1197. default 0xfe230000 if DEBUG_PICOXCELL_UART
  1198. default 0xfe300000 if DEBUG_BCM_KONA_UART
  1199. default 0xfe800000 if ARCH_IOP32X
  1200. default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
  1201. default 0xfeb24000 if DEBUG_RK3X_UART0
  1202. default 0xfeb26000 if DEBUG_RK3X_UART1
  1203. default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
  1204. default 0xfeb31000 if DEBUG_KEYSTONE_UART1
  1205. default 0xfec02000 if DEBUG_SOCFPGA_UART
  1206. default 0xfec12000 if DEBUG_MVEBU_UART || DEBUG_MVEBU_UART_ALTERNATE
  1207. default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
  1208. default 0xfec90000 if DEBUG_RK32_UART2
  1209. default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
  1210. default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2
  1211. default 0xfed60000 if DEBUG_RK29_UART0
  1212. default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
  1213. default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
  1214. default 0xfedc0000 if ARCH_EP93XX
  1215. default 0xfee003f8 if FOOTBRIDGE
  1216. default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
  1217. default 0xfee82340 if ARCH_IOP13XX
  1218. default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
  1219. default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
  1220. default 0xfef36000 if DEBUG_HIGHBANK_UART
  1221. default 0xfefff700 if ARCH_IOP33X
  1222. default 0xff003000 if DEBUG_U300_UART
  1223. default DEBUG_UART_PHYS if !MMU
  1224. depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
  1225. DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
  1226. DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
  1227. DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART
  1228. config DEBUG_UART_8250_SHIFT
  1229. int "Register offset shift for the 8250 debug UART"
  1230. depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1231. default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X
  1232. default 2
  1233. config DEBUG_UART_8250_WORD
  1234. bool "Use 32-bit accesses for 8250 UART"
  1235. depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1236. depends on DEBUG_UART_8250_SHIFT >= 2
  1237. default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART || \
  1238. ARCH_KEYSTONE || \
  1239. DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \
  1240. DEBUG_DAVINCI_DA8XX_UART2 || \
  1241. DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \
  1242. DEBUG_BRCMSTB_UART
  1243. config DEBUG_UART_8250_FLOW_CONTROL
  1244. bool "Enable flow control for 8250 UART"
  1245. depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1246. default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_GEMINI || ARCH_RPC
  1247. config DEBUG_UNCOMPRESS
  1248. bool
  1249. depends on ARCH_MULTIPLATFORM || ARCH_MSM || PLAT_SAMSUNG
  1250. default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
  1251. (!DEBUG_TEGRA_UART || !ZBOOT_ROM)
  1252. help
  1253. This option influences the normal decompressor output for
  1254. multiplatform kernels. Normally, multiplatform kernels disable
  1255. decompressor output because it is not possible to know where to
  1256. send the decompressor output.
  1257. When this option is set, the selected DEBUG_LL output method
  1258. will be re-used for normal decompressor output on multiplatform
  1259. kernels.
  1260. config UNCOMPRESS_INCLUDE
  1261. string
  1262. default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
  1263. PLAT_SAMSUNG || ARCH_EFM32
  1264. default "mach/uncompress.h"
  1265. config EARLY_PRINTK
  1266. bool "Early printk"
  1267. depends on DEBUG_LL
  1268. help
  1269. Say Y here if you want to have an early console using the
  1270. kernel low-level debugging functions. Add earlyprintk to your
  1271. kernel parameters to enable this console.
  1272. config ARM_KPROBES_TEST
  1273. tristate "Kprobes test module"
  1274. depends on KPROBES && MODULES
  1275. help
  1276. Perform tests of kprobes API and instruction set simulation.
  1277. config PID_IN_CONTEXTIDR
  1278. bool "Write the current PID to the CONTEXTIDR register"
  1279. depends on CPU_COPY_V6
  1280. help
  1281. Enabling this option causes the kernel to write the current PID to
  1282. the PROCID field of the CONTEXTIDR register, at the expense of some
  1283. additional instructions during context switch. Say Y here only if you
  1284. are planning to use hardware trace tools with this kernel.
  1285. config DEBUG_SET_MODULE_RONX
  1286. bool "Set loadable kernel module data as NX and text as RO"
  1287. depends on MODULES
  1288. ---help---
  1289. This option helps catch unintended modifications to loadable
  1290. kernel module's text and read-only data. It also prevents execution
  1291. of module data. Such protection may interfere with run-time code
  1292. patching and dynamic kernel tracing - and they might also protect
  1293. against certain classes of kernel exploits.
  1294. If in doubt, say "N".
  1295. menuconfig CORESIGHT
  1296. bool "CoreSight Tracing Support"
  1297. select ARM_AMBA
  1298. help
  1299. This framework provides a kernel interface for the CoreSight debug
  1300. and trace drivers to register themselves with. It's intended to build
  1301. a topological view of the CoreSight components based on a DT
  1302. specification and configure the right serie of components when a
  1303. trace source gets enabled.
  1304. if CORESIGHT
  1305. config CORESIGHT_LINKS_AND_SINKS
  1306. bool "CoreSight Link and Sink drivers"
  1307. help
  1308. This enables support for CoreSight link and sink drivers that are
  1309. responsible for transporting and collecting the trace data
  1310. respectively. Link and sinks are dynamically aggregated with a trace
  1311. entity at run time to form a complete trace path.
  1312. config CORESIGHT_LINK_AND_SINK_TMC
  1313. bool "Coresight generic TMC driver"
  1314. depends on CORESIGHT_LINKS_AND_SINKS
  1315. help
  1316. This enables support for the Trace Memory Controller driver. Depending
  1317. on its configuration the device can act as a link (embedded trace router
  1318. - ETR) or sink (embedded trace FIFO). The driver complies with the
  1319. generic implementation of the component without special enhancement or
  1320. added features.
  1321. config CORESIGHT_SINK_TPIU
  1322. bool "Coresight generic TPIU driver"
  1323. depends on CORESIGHT_LINKS_AND_SINKS
  1324. help
  1325. This enables support for the Trace Port Interface Unit driver, responsible
  1326. for bridging the gap between the on-chip coresight components and a trace
  1327. port collection engine, typically connected to an external host for use
  1328. case capturing more traces than the on-board coresight memory can handle.
  1329. config CORESIGHT_SINK_ETBV10
  1330. bool "Coresight ETBv1.0 driver"
  1331. depends on CORESIGHT_LINKS_AND_SINKS
  1332. help
  1333. This enables support for the Embedded Trace Buffer version 1.0 driver
  1334. that complies with the generic implementation of the component without
  1335. special enhancement or added features.
  1336. config CORESIGHT_SOURCE_ETM3X
  1337. bool "CoreSight Embedded Trace Macrocell 3.x driver"
  1338. select CORESIGHT_LINKS_AND_SINKS
  1339. help
  1340. This driver provides support for processor ETM3.x and PTM1.x modules,
  1341. which allows tracing the instructions that a processor is executing
  1342. This is primarily useful for instruction level tracing. Depending
  1343. the ETM version data tracing may also be available.
  1344. endif
  1345. endmenu