Kconfig.debug 65 KB

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