Kconfig.debug 53 KB

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