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