Kconfig.debug 54 KB

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