Kconfig.debug 61 KB

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