Kconfig.debug 62 KB

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