Kconfig.debug 54 KB

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