Kconfig.debug 53 KB

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