Kconfig.debug 54 KB

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