Kconfig.debug 58 KB

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