Kconfig.debug 57 KB

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