Kconfig.debug 63 KB

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