Kconfig.debug 62 KB

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