Kconfig.debug 62 KB

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