Kconfig 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584
  1. config MIPS
  2. bool
  3. default y
  4. select HAVE_GENERIC_DMA_COHERENT
  5. select HAVE_IDE
  6. select HAVE_OPROFILE
  7. select HAVE_IRQ_WORK
  8. select HAVE_PERF_EVENTS
  9. select PERF_USE_VMALLOC
  10. select HAVE_ARCH_KGDB
  11. select ARCH_HAVE_CUSTOM_GPIO_H
  12. select HAVE_FUNCTION_TRACER
  13. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  14. select HAVE_DYNAMIC_FTRACE
  15. select HAVE_FTRACE_MCOUNT_RECORD
  16. select HAVE_C_RECORDMCOUNT
  17. select HAVE_FUNCTION_GRAPH_TRACER
  18. select HAVE_KPROBES
  19. select HAVE_KRETPROBES
  20. select HAVE_DEBUG_KMEMLEAK
  21. select ARCH_BINFMT_ELF_RANDOMIZE_PIE
  22. select RTC_LIB if !MACH_LOONGSON
  23. select GENERIC_ATOMIC64 if !64BIT
  24. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  25. select HAVE_DMA_ATTRS
  26. select HAVE_DMA_API_DEBUG
  27. select HAVE_GENERIC_HARDIRQS
  28. select GENERIC_IRQ_PROBE
  29. select GENERIC_IRQ_SHOW
  30. select HAVE_ARCH_JUMP_LABEL
  31. select ARCH_WANT_IPC_PARSE_VERSION
  32. select IRQ_FORCED_THREADING
  33. select HAVE_MEMBLOCK
  34. select HAVE_MEMBLOCK_NODE_MAP
  35. select ARCH_DISCARD_MEMBLOCK
  36. select GENERIC_SMP_IDLE_THREAD
  37. select BUILDTIME_EXTABLE_SORT
  38. select GENERIC_CLOCKEVENTS
  39. select GENERIC_CMOS_UPDATE
  40. select HAVE_MOD_ARCH_SPECIFIC
  41. select MODULES_USE_ELF_REL
  42. select MODULES_USE_ELF_RELA if 64BIT
  43. menu "Machine selection"
  44. config ZONE_DMA
  45. bool
  46. choice
  47. prompt "System type"
  48. default SGI_IP22
  49. config MIPS_ALCHEMY
  50. bool "Alchemy processor based machines"
  51. select 64BIT_PHYS_ADDR
  52. select CEVT_R4K_LIB
  53. select CSRC_R4K_LIB
  54. select IRQ_CPU
  55. select SYS_HAS_CPU_MIPS32_R1
  56. select SYS_SUPPORTS_32BIT_KERNEL
  57. select SYS_SUPPORTS_APM_EMULATION
  58. select GENERIC_GPIO
  59. select ARCH_WANT_OPTIONAL_GPIOLIB
  60. select SYS_SUPPORTS_ZBOOT
  61. select USB_ARCH_HAS_OHCI
  62. select USB_ARCH_HAS_EHCI
  63. config AR7
  64. bool "Texas Instruments AR7"
  65. select BOOT_ELF32
  66. select DMA_NONCOHERENT
  67. select CEVT_R4K
  68. select CSRC_R4K
  69. select IRQ_CPU
  70. select NO_EXCEPT_FILL
  71. select SWAP_IO_SPACE
  72. select SYS_HAS_CPU_MIPS32_R1
  73. select SYS_HAS_EARLY_PRINTK
  74. select SYS_SUPPORTS_32BIT_KERNEL
  75. select SYS_SUPPORTS_LITTLE_ENDIAN
  76. select SYS_SUPPORTS_ZBOOT_UART16550
  77. select ARCH_REQUIRE_GPIOLIB
  78. select VLYNQ
  79. select HAVE_CLK
  80. help
  81. Support for the Texas Instruments AR7 System-on-a-Chip
  82. family: TNETD7100, 7200 and 7300.
  83. config ATH79
  84. bool "Atheros AR71XX/AR724X/AR913X based boards"
  85. select ARCH_REQUIRE_GPIOLIB
  86. select BOOT_RAW
  87. select CEVT_R4K
  88. select CSRC_R4K
  89. select DMA_NONCOHERENT
  90. select HAVE_CLK
  91. select IRQ_CPU
  92. select MIPS_MACHINE
  93. select SYS_HAS_CPU_MIPS32_R2
  94. select SYS_HAS_EARLY_PRINTK
  95. select SYS_SUPPORTS_32BIT_KERNEL
  96. select SYS_SUPPORTS_BIG_ENDIAN
  97. help
  98. Support for the Atheros AR71XX/AR724X/AR913X SoCs.
  99. config BCM47XX
  100. bool "Broadcom BCM47XX based boards"
  101. select CEVT_R4K
  102. select CSRC_R4K
  103. select DMA_NONCOHERENT
  104. select HW_HAS_PCI
  105. select IRQ_CPU
  106. select SYS_SUPPORTS_32BIT_KERNEL
  107. select SYS_SUPPORTS_LITTLE_ENDIAN
  108. select GENERIC_GPIO
  109. select SYS_HAS_EARLY_PRINTK
  110. select CFE
  111. help
  112. Support for BCM47XX based boards
  113. config BCM63XX
  114. bool "Broadcom BCM63XX based boards"
  115. select CEVT_R4K
  116. select CSRC_R4K
  117. select DMA_NONCOHERENT
  118. select IRQ_CPU
  119. select SYS_HAS_CPU_MIPS32_R1
  120. select SYS_SUPPORTS_32BIT_KERNEL
  121. select SYS_SUPPORTS_BIG_ENDIAN
  122. select SYS_HAS_EARLY_PRINTK
  123. select SWAP_IO_SPACE
  124. select ARCH_REQUIRE_GPIOLIB
  125. select HAVE_CLK
  126. help
  127. Support for BCM63XX based boards
  128. config MIPS_COBALT
  129. bool "Cobalt Server"
  130. select CEVT_R4K
  131. select CSRC_R4K
  132. select CEVT_GT641XX
  133. select DMA_NONCOHERENT
  134. select HW_HAS_PCI
  135. select I8253
  136. select I8259
  137. select IRQ_CPU
  138. select IRQ_GT641XX
  139. select PCI_GT64XXX_PCI0
  140. select PCI
  141. select SYS_HAS_CPU_NEVADA
  142. select SYS_HAS_EARLY_PRINTK
  143. select SYS_SUPPORTS_32BIT_KERNEL
  144. select SYS_SUPPORTS_64BIT_KERNEL
  145. select SYS_SUPPORTS_LITTLE_ENDIAN
  146. config MACH_DECSTATION
  147. bool "DECstations"
  148. select BOOT_ELF32
  149. select CEVT_DS1287
  150. select CEVT_R4K
  151. select CSRC_IOASIC
  152. select CSRC_R4K
  153. select CPU_DADDI_WORKAROUNDS if 64BIT
  154. select CPU_R4000_WORKAROUNDS if 64BIT
  155. select CPU_R4400_WORKAROUNDS if 64BIT
  156. select DMA_NONCOHERENT
  157. select NO_IOPORT
  158. select IRQ_CPU
  159. select SYS_HAS_CPU_R3000
  160. select SYS_HAS_CPU_R4X00
  161. select SYS_SUPPORTS_32BIT_KERNEL
  162. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  163. select SYS_SUPPORTS_LITTLE_ENDIAN
  164. select SYS_SUPPORTS_128HZ
  165. select SYS_SUPPORTS_256HZ
  166. select SYS_SUPPORTS_1024HZ
  167. help
  168. This enables support for DEC's MIPS based workstations. For details
  169. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  170. DECstation porting pages on <http://decstation.unix-ag.org/>.
  171. If you have one of the following DECstation Models you definitely
  172. want to choose R4xx0 for the CPU Type:
  173. DECstation 5000/50
  174. DECstation 5000/150
  175. DECstation 5000/260
  176. DECsystem 5900/260
  177. otherwise choose R3000.
  178. config MACH_JAZZ
  179. bool "Jazz family of machines"
  180. select ARC
  181. select ARC32
  182. select ARCH_MAY_HAVE_PC_FDC
  183. select CEVT_R4K
  184. select CSRC_R4K
  185. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  186. select GENERIC_ISA_DMA
  187. select HAVE_PCSPKR_PLATFORM
  188. select IRQ_CPU
  189. select I8253
  190. select I8259
  191. select ISA
  192. select SYS_HAS_CPU_R4X00
  193. select SYS_SUPPORTS_32BIT_KERNEL
  194. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  195. select SYS_SUPPORTS_100HZ
  196. help
  197. This a family of machines based on the MIPS R4030 chipset which was
  198. used by several vendors to build RISC/os and Windows NT workstations.
  199. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  200. Olivetti M700-10 workstations.
  201. config MACH_JZ4740
  202. bool "Ingenic JZ4740 based machines"
  203. select SYS_HAS_CPU_MIPS32_R1
  204. select SYS_SUPPORTS_32BIT_KERNEL
  205. select SYS_SUPPORTS_LITTLE_ENDIAN
  206. select SYS_SUPPORTS_ZBOOT_UART16550
  207. select DMA_NONCOHERENT
  208. select IRQ_CPU
  209. select GENERIC_GPIO
  210. select ARCH_REQUIRE_GPIOLIB
  211. select SYS_HAS_EARLY_PRINTK
  212. select HAVE_PWM
  213. select HAVE_CLK
  214. select GENERIC_IRQ_CHIP
  215. config LANTIQ
  216. bool "Lantiq based platforms"
  217. select DMA_NONCOHERENT
  218. select IRQ_CPU
  219. select CEVT_R4K
  220. select CSRC_R4K
  221. select SYS_HAS_CPU_MIPS32_R1
  222. select SYS_HAS_CPU_MIPS32_R2
  223. select SYS_SUPPORTS_BIG_ENDIAN
  224. select SYS_SUPPORTS_32BIT_KERNEL
  225. select SYS_SUPPORTS_MULTITHREADING
  226. select SYS_HAS_EARLY_PRINTK
  227. select ARCH_REQUIRE_GPIOLIB
  228. select SWAP_IO_SPACE
  229. select BOOT_RAW
  230. select HAVE_MACH_CLKDEV
  231. select CLKDEV_LOOKUP
  232. select USE_OF
  233. select PINCTRL
  234. select PINCTRL_LANTIQ
  235. config LASAT
  236. bool "LASAT Networks platforms"
  237. select CEVT_R4K
  238. select CSRC_R4K
  239. select DMA_NONCOHERENT
  240. select SYS_HAS_EARLY_PRINTK
  241. select HW_HAS_PCI
  242. select IRQ_CPU
  243. select PCI_GT64XXX_PCI0
  244. select MIPS_NILE4
  245. select R5000_CPU_SCACHE
  246. select SYS_HAS_CPU_R5000
  247. select SYS_SUPPORTS_32BIT_KERNEL
  248. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  249. select SYS_SUPPORTS_LITTLE_ENDIAN
  250. config MACH_LOONGSON
  251. bool "Loongson family of machines"
  252. select SYS_SUPPORTS_ZBOOT
  253. help
  254. This enables the support of Loongson family of machines.
  255. Loongson is a family of general-purpose MIPS-compatible CPUs.
  256. developed at Institute of Computing Technology (ICT),
  257. Chinese Academy of Sciences (CAS) in the People's Republic
  258. of China. The chief architect is Professor Weiwu Hu.
  259. config MACH_LOONGSON1
  260. bool "Loongson 1 family of machines"
  261. select SYS_SUPPORTS_ZBOOT
  262. help
  263. This enables support for the Loongson 1 based machines.
  264. Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
  265. the ICT (Institute of Computing Technology) and the Chinese Academy
  266. of Sciences.
  267. config MIPS_MALTA
  268. bool "MIPS Malta board"
  269. select ARCH_MAY_HAVE_PC_FDC
  270. select BOOT_ELF32
  271. select BOOT_RAW
  272. select CEVT_R4K
  273. select CSRC_R4K
  274. select DMA_NONCOHERENT
  275. select GENERIC_ISA_DMA
  276. select HAVE_PCSPKR_PLATFORM
  277. select IRQ_CPU
  278. select IRQ_GIC
  279. select HW_HAS_PCI
  280. select I8253
  281. select I8259
  282. select MIPS_BOARDS_GEN
  283. select MIPS_BONITO64
  284. select MIPS_CPU_SCACHE
  285. select PCI_GT64XXX_PCI0
  286. select MIPS_MSC
  287. select SWAP_IO_SPACE
  288. select SYS_HAS_CPU_MIPS32_R1
  289. select SYS_HAS_CPU_MIPS32_R2
  290. select SYS_HAS_CPU_MIPS64_R1
  291. select SYS_HAS_CPU_MIPS64_R2
  292. select SYS_HAS_CPU_NEVADA
  293. select SYS_HAS_CPU_RM7000
  294. select SYS_HAS_EARLY_PRINTK
  295. select SYS_SUPPORTS_32BIT_KERNEL
  296. select SYS_SUPPORTS_64BIT_KERNEL
  297. select SYS_SUPPORTS_BIG_ENDIAN
  298. select SYS_SUPPORTS_LITTLE_ENDIAN
  299. select SYS_SUPPORTS_MIPS_CMP
  300. select SYS_SUPPORTS_MULTITHREADING
  301. select SYS_SUPPORTS_SMARTMIPS
  302. select SYS_SUPPORTS_ZBOOT
  303. help
  304. This enables support for the MIPS Technologies Malta evaluation
  305. board.
  306. config MIPS_SEAD3
  307. bool "MIPS SEAD3 board"
  308. select BOOT_ELF32
  309. select BOOT_RAW
  310. select CEVT_R4K
  311. select CSRC_R4K
  312. select CPU_MIPSR2_IRQ_VI
  313. select CPU_MIPSR2_IRQ_EI
  314. select DMA_NONCOHERENT
  315. select IRQ_CPU
  316. select IRQ_GIC
  317. select MIPS_BOARDS_GEN
  318. select MIPS_CPU_SCACHE
  319. select MIPS_MSC
  320. select SYS_HAS_CPU_MIPS32_R1
  321. select SYS_HAS_CPU_MIPS32_R2
  322. select SYS_HAS_CPU_MIPS64_R1
  323. select SYS_HAS_EARLY_PRINTK
  324. select SYS_SUPPORTS_32BIT_KERNEL
  325. select SYS_SUPPORTS_64BIT_KERNEL
  326. select SYS_SUPPORTS_BIG_ENDIAN
  327. select SYS_SUPPORTS_LITTLE_ENDIAN
  328. select SYS_SUPPORTS_SMARTMIPS
  329. select USB_ARCH_HAS_EHCI
  330. select USB_EHCI_BIG_ENDIAN_DESC
  331. select USB_EHCI_BIG_ENDIAN_MMIO
  332. help
  333. This enables support for the MIPS Technologies SEAD3 evaluation
  334. board.
  335. config NEC_MARKEINS
  336. bool "NEC EMMA2RH Mark-eins board"
  337. select SOC_EMMA2RH
  338. select HW_HAS_PCI
  339. help
  340. This enables support for the NEC Electronics Mark-eins boards.
  341. config MACH_VR41XX
  342. bool "NEC VR4100 series based machines"
  343. select CEVT_R4K
  344. select CSRC_R4K
  345. select SYS_HAS_CPU_VR41XX
  346. select ARCH_REQUIRE_GPIOLIB
  347. config NXP_STB220
  348. bool "NXP STB220 board"
  349. select SOC_PNX833X
  350. help
  351. Support for NXP Semiconductors STB220 Development Board.
  352. config NXP_STB225
  353. bool "NXP 225 board"
  354. select SOC_PNX833X
  355. select SOC_PNX8335
  356. help
  357. Support for NXP Semiconductors STB225 Development Board.
  358. config PNX8550_JBS
  359. bool "NXP PNX8550 based JBS board"
  360. select PNX8550
  361. select SYS_SUPPORTS_LITTLE_ENDIAN
  362. config PNX8550_STB810
  363. bool "NXP PNX8550 based STB810 board"
  364. select PNX8550
  365. select SYS_SUPPORTS_LITTLE_ENDIAN
  366. config PMC_MSP
  367. bool "PMC-Sierra MSP chipsets"
  368. depends on EXPERIMENTAL
  369. select CEVT_R4K
  370. select CSRC_R4K
  371. select DMA_NONCOHERENT
  372. select SWAP_IO_SPACE
  373. select NO_EXCEPT_FILL
  374. select BOOT_RAW
  375. select SYS_HAS_CPU_MIPS32_R1
  376. select SYS_HAS_CPU_MIPS32_R2
  377. select SYS_SUPPORTS_32BIT_KERNEL
  378. select SYS_SUPPORTS_BIG_ENDIAN
  379. select IRQ_CPU
  380. select SERIAL_8250
  381. select SERIAL_8250_CONSOLE
  382. help
  383. This adds support for the PMC-Sierra family of Multi-Service
  384. Processor System-On-A-Chips. These parts include a number
  385. of integrated peripherals, interfaces and DSPs in addition to
  386. a variety of MIPS cores.
  387. config PMC_YOSEMITE
  388. bool "PMC-Sierra Yosemite eval board"
  389. select CEVT_R4K
  390. select CSRC_R4K
  391. select DMA_COHERENT
  392. select HW_HAS_PCI
  393. select IRQ_CPU
  394. select IRQ_CPU_RM7K
  395. select IRQ_CPU_RM9K
  396. select SWAP_IO_SPACE
  397. select SYS_HAS_CPU_RM9000
  398. select SYS_HAS_EARLY_PRINTK
  399. select SYS_SUPPORTS_32BIT_KERNEL
  400. select SYS_SUPPORTS_64BIT_KERNEL
  401. select SYS_SUPPORTS_BIG_ENDIAN
  402. select SYS_SUPPORTS_HIGHMEM
  403. select SYS_SUPPORTS_SMP
  404. help
  405. Yosemite is an evaluation board for the RM9000x2 processor
  406. manufactured by PMC-Sierra.
  407. config POWERTV
  408. bool "Cisco PowerTV"
  409. select BOOT_ELF32
  410. select CEVT_R4K
  411. select CPU_MIPSR2_IRQ_VI
  412. select CPU_MIPSR2_IRQ_EI
  413. select CSRC_POWERTV
  414. select DMA_NONCOHERENT
  415. select HW_HAS_PCI
  416. select SYS_HAS_EARLY_PRINTK
  417. select SYS_HAS_CPU_MIPS32_R2
  418. select SYS_SUPPORTS_32BIT_KERNEL
  419. select SYS_SUPPORTS_BIG_ENDIAN
  420. select SYS_SUPPORTS_HIGHMEM
  421. select USB_OHCI_LITTLE_ENDIAN
  422. help
  423. This enables support for the Cisco PowerTV Platform.
  424. config SGI_IP22
  425. bool "SGI IP22 (Indy/Indigo2)"
  426. select ARC
  427. select ARC32
  428. select BOOT_ELF32
  429. select CEVT_R4K
  430. select CSRC_R4K
  431. select DEFAULT_SGI_PARTITION
  432. select DMA_NONCOHERENT
  433. select HW_HAS_EISA
  434. select I8253
  435. select I8259
  436. select IP22_CPU_SCACHE
  437. select IRQ_CPU
  438. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  439. select SGI_HAS_I8042
  440. select SGI_HAS_INDYDOG
  441. select SGI_HAS_HAL2
  442. select SGI_HAS_SEEQ
  443. select SGI_HAS_WD93
  444. select SGI_HAS_ZILOG
  445. select SWAP_IO_SPACE
  446. select SYS_HAS_CPU_R4X00
  447. select SYS_HAS_CPU_R5000
  448. #
  449. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  450. # memory during early boot on some machines.
  451. #
  452. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  453. # for a more details discussion
  454. #
  455. # select SYS_HAS_EARLY_PRINTK
  456. select SYS_SUPPORTS_32BIT_KERNEL
  457. select SYS_SUPPORTS_64BIT_KERNEL
  458. select SYS_SUPPORTS_BIG_ENDIAN
  459. help
  460. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  461. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  462. that runs on these, say Y here.
  463. config SGI_IP27
  464. bool "SGI IP27 (Origin200/2000)"
  465. select ARC
  466. select ARC64
  467. select BOOT_ELF64
  468. select DEFAULT_SGI_PARTITION
  469. select DMA_COHERENT
  470. select SYS_HAS_EARLY_PRINTK
  471. select HW_HAS_PCI
  472. select NR_CPUS_DEFAULT_64
  473. select SYS_HAS_CPU_R10000
  474. select SYS_SUPPORTS_64BIT_KERNEL
  475. select SYS_SUPPORTS_BIG_ENDIAN
  476. select SYS_SUPPORTS_NUMA
  477. select SYS_SUPPORTS_SMP
  478. help
  479. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  480. workstations. To compile a Linux kernel that runs on these, say Y
  481. here.
  482. config SGI_IP28
  483. bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
  484. depends on EXPERIMENTAL
  485. select ARC
  486. select ARC64
  487. select BOOT_ELF64
  488. select CEVT_R4K
  489. select CSRC_R4K
  490. select DEFAULT_SGI_PARTITION
  491. select DMA_NONCOHERENT
  492. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  493. select IRQ_CPU
  494. select HW_HAS_EISA
  495. select I8253
  496. select I8259
  497. select SGI_HAS_I8042
  498. select SGI_HAS_INDYDOG
  499. select SGI_HAS_HAL2
  500. select SGI_HAS_SEEQ
  501. select SGI_HAS_WD93
  502. select SGI_HAS_ZILOG
  503. select SWAP_IO_SPACE
  504. select SYS_HAS_CPU_R10000
  505. #
  506. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  507. # memory during early boot on some machines.
  508. #
  509. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  510. # for a more details discussion
  511. #
  512. # select SYS_HAS_EARLY_PRINTK
  513. select SYS_SUPPORTS_64BIT_KERNEL
  514. select SYS_SUPPORTS_BIG_ENDIAN
  515. help
  516. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  517. kernel that runs on these, say Y here.
  518. config SGI_IP32
  519. bool "SGI IP32 (O2)"
  520. select ARC
  521. select ARC32
  522. select BOOT_ELF32
  523. select CEVT_R4K
  524. select CSRC_R4K
  525. select DMA_NONCOHERENT
  526. select HW_HAS_PCI
  527. select IRQ_CPU
  528. select R5000_CPU_SCACHE
  529. select RM7000_CPU_SCACHE
  530. select SYS_HAS_CPU_R5000
  531. select SYS_HAS_CPU_R10000 if BROKEN
  532. select SYS_HAS_CPU_RM7000
  533. select SYS_HAS_CPU_NEVADA
  534. select SYS_SUPPORTS_64BIT_KERNEL
  535. select SYS_SUPPORTS_BIG_ENDIAN
  536. help
  537. If you want this kernel to run on SGI O2 workstation, say Y here.
  538. config SIBYTE_CRHINE
  539. bool "Sibyte BCM91120C-CRhine"
  540. depends on EXPERIMENTAL
  541. select BOOT_ELF32
  542. select DMA_COHERENT
  543. select SIBYTE_BCM1120
  544. select SWAP_IO_SPACE
  545. select SYS_HAS_CPU_SB1
  546. select SYS_SUPPORTS_BIG_ENDIAN
  547. select SYS_SUPPORTS_LITTLE_ENDIAN
  548. config SIBYTE_CARMEL
  549. bool "Sibyte BCM91120x-Carmel"
  550. depends on EXPERIMENTAL
  551. select BOOT_ELF32
  552. select DMA_COHERENT
  553. select SIBYTE_BCM1120
  554. select SWAP_IO_SPACE
  555. select SYS_HAS_CPU_SB1
  556. select SYS_SUPPORTS_BIG_ENDIAN
  557. select SYS_SUPPORTS_LITTLE_ENDIAN
  558. config SIBYTE_CRHONE
  559. bool "Sibyte BCM91125C-CRhone"
  560. depends on EXPERIMENTAL
  561. select BOOT_ELF32
  562. select DMA_COHERENT
  563. select SIBYTE_BCM1125
  564. select SWAP_IO_SPACE
  565. select SYS_HAS_CPU_SB1
  566. select SYS_SUPPORTS_BIG_ENDIAN
  567. select SYS_SUPPORTS_HIGHMEM
  568. select SYS_SUPPORTS_LITTLE_ENDIAN
  569. config SIBYTE_RHONE
  570. bool "Sibyte BCM91125E-Rhone"
  571. depends on EXPERIMENTAL
  572. select BOOT_ELF32
  573. select DMA_COHERENT
  574. select SIBYTE_BCM1125H
  575. select SWAP_IO_SPACE
  576. select SYS_HAS_CPU_SB1
  577. select SYS_SUPPORTS_BIG_ENDIAN
  578. select SYS_SUPPORTS_LITTLE_ENDIAN
  579. config SIBYTE_SWARM
  580. bool "Sibyte BCM91250A-SWARM"
  581. select BOOT_ELF32
  582. select DMA_COHERENT
  583. select HAVE_PATA_PLATFORM
  584. select NR_CPUS_DEFAULT_2
  585. select SIBYTE_SB1250
  586. select SWAP_IO_SPACE
  587. select SYS_HAS_CPU_SB1
  588. select SYS_SUPPORTS_BIG_ENDIAN
  589. select SYS_SUPPORTS_HIGHMEM
  590. select SYS_SUPPORTS_LITTLE_ENDIAN
  591. select ZONE_DMA32 if 64BIT
  592. config SIBYTE_LITTLESUR
  593. bool "Sibyte BCM91250C2-LittleSur"
  594. depends on EXPERIMENTAL
  595. select BOOT_ELF32
  596. select DMA_COHERENT
  597. select HAVE_PATA_PLATFORM
  598. select NR_CPUS_DEFAULT_2
  599. select SIBYTE_SB1250
  600. select SWAP_IO_SPACE
  601. select SYS_HAS_CPU_SB1
  602. select SYS_SUPPORTS_BIG_ENDIAN
  603. select SYS_SUPPORTS_HIGHMEM
  604. select SYS_SUPPORTS_LITTLE_ENDIAN
  605. config SIBYTE_SENTOSA
  606. bool "Sibyte BCM91250E-Sentosa"
  607. depends on EXPERIMENTAL
  608. select BOOT_ELF32
  609. select DMA_COHERENT
  610. select NR_CPUS_DEFAULT_2
  611. select SIBYTE_SB1250
  612. select SWAP_IO_SPACE
  613. select SYS_HAS_CPU_SB1
  614. select SYS_SUPPORTS_BIG_ENDIAN
  615. select SYS_SUPPORTS_LITTLE_ENDIAN
  616. config SIBYTE_BIGSUR
  617. bool "Sibyte BCM91480B-BigSur"
  618. select BOOT_ELF32
  619. select DMA_COHERENT
  620. select NR_CPUS_DEFAULT_4
  621. select SIBYTE_BCM1x80
  622. select SWAP_IO_SPACE
  623. select SYS_HAS_CPU_SB1
  624. select SYS_SUPPORTS_BIG_ENDIAN
  625. select SYS_SUPPORTS_HIGHMEM
  626. select SYS_SUPPORTS_LITTLE_ENDIAN
  627. select ZONE_DMA32 if 64BIT
  628. config SNI_RM
  629. bool "SNI RM200/300/400"
  630. select ARC if CPU_LITTLE_ENDIAN
  631. select ARC32 if CPU_LITTLE_ENDIAN
  632. select SNIPROM if CPU_BIG_ENDIAN
  633. select ARCH_MAY_HAVE_PC_FDC
  634. select BOOT_ELF32
  635. select CEVT_R4K
  636. select CSRC_R4K
  637. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  638. select DMA_NONCOHERENT
  639. select GENERIC_ISA_DMA
  640. select HAVE_PCSPKR_PLATFORM
  641. select HW_HAS_EISA
  642. select HW_HAS_PCI
  643. select IRQ_CPU
  644. select I8253
  645. select I8259
  646. select ISA
  647. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  648. select SYS_HAS_CPU_R4X00
  649. select SYS_HAS_CPU_R5000
  650. select SYS_HAS_CPU_R10000
  651. select R5000_CPU_SCACHE
  652. select SYS_HAS_EARLY_PRINTK
  653. select SYS_SUPPORTS_32BIT_KERNEL
  654. select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
  655. select SYS_SUPPORTS_BIG_ENDIAN
  656. select SYS_SUPPORTS_HIGHMEM
  657. select SYS_SUPPORTS_LITTLE_ENDIAN
  658. help
  659. The SNI RM200/300/400 are MIPS-based machines manufactured by
  660. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  661. Technology and now in turn merged with Fujitsu. Say Y here to
  662. support this machine type.
  663. config MACH_TX39XX
  664. bool "Toshiba TX39 series based machines"
  665. config MACH_TX49XX
  666. bool "Toshiba TX49 series based machines"
  667. config MIKROTIK_RB532
  668. bool "Mikrotik RB532 boards"
  669. select CEVT_R4K
  670. select CSRC_R4K
  671. select DMA_NONCOHERENT
  672. select HW_HAS_PCI
  673. select IRQ_CPU
  674. select SYS_HAS_CPU_MIPS32_R1
  675. select SYS_SUPPORTS_32BIT_KERNEL
  676. select SYS_SUPPORTS_LITTLE_ENDIAN
  677. select SWAP_IO_SPACE
  678. select BOOT_RAW
  679. select ARCH_REQUIRE_GPIOLIB
  680. help
  681. Support the Mikrotik(tm) RouterBoard 532 series,
  682. based on the IDT RC32434 SoC.
  683. config WR_PPMC
  684. bool "Wind River PPMC board"
  685. select CEVT_R4K
  686. select CSRC_R4K
  687. select IRQ_CPU
  688. select BOOT_ELF32
  689. select DMA_NONCOHERENT
  690. select HW_HAS_PCI
  691. select PCI_GT64XXX_PCI0
  692. select SWAP_IO_SPACE
  693. select SYS_HAS_CPU_MIPS32_R1
  694. select SYS_HAS_CPU_MIPS32_R2
  695. select SYS_HAS_CPU_MIPS64_R1
  696. select SYS_HAS_CPU_NEVADA
  697. select SYS_HAS_CPU_RM7000
  698. select SYS_SUPPORTS_32BIT_KERNEL
  699. select SYS_SUPPORTS_64BIT_KERNEL
  700. select SYS_SUPPORTS_BIG_ENDIAN
  701. select SYS_SUPPORTS_LITTLE_ENDIAN
  702. help
  703. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  704. board, which is based on GT64120 bridge chip.
  705. config CAVIUM_OCTEON_SIMULATOR
  706. bool "Cavium Networks Octeon Simulator"
  707. select CEVT_R4K
  708. select 64BIT_PHYS_ADDR
  709. select DMA_COHERENT
  710. select SYS_SUPPORTS_64BIT_KERNEL
  711. select SYS_SUPPORTS_BIG_ENDIAN
  712. select SYS_SUPPORTS_HOTPLUG_CPU
  713. select SYS_HAS_CPU_CAVIUM_OCTEON
  714. select HOLES_IN_ZONE
  715. help
  716. The Octeon simulator is software performance model of the Cavium
  717. Octeon Processor. It supports simulating Octeon processors on x86
  718. hardware.
  719. config CAVIUM_OCTEON_REFERENCE_BOARD
  720. bool "Cavium Networks Octeon reference board"
  721. select CEVT_R4K
  722. select 64BIT_PHYS_ADDR
  723. select DMA_COHERENT
  724. select SYS_SUPPORTS_64BIT_KERNEL
  725. select SYS_SUPPORTS_BIG_ENDIAN
  726. select SYS_SUPPORTS_HOTPLUG_CPU
  727. select SYS_HAS_EARLY_PRINTK
  728. select SYS_HAS_CPU_CAVIUM_OCTEON
  729. select SWAP_IO_SPACE
  730. select HW_HAS_PCI
  731. select ARCH_SUPPORTS_MSI
  732. select ZONE_DMA32
  733. select USB_ARCH_HAS_OHCI
  734. select USB_ARCH_HAS_EHCI
  735. select HOLES_IN_ZONE
  736. help
  737. This option supports all of the Octeon reference boards from Cavium
  738. Networks. It builds a kernel that dynamically determines the Octeon
  739. CPU type and supports all known board reference implementations.
  740. Some of the supported boards are:
  741. EBT3000
  742. EBH3000
  743. EBH3100
  744. Thunder
  745. Kodama
  746. Hikari
  747. Say Y here for most Octeon reference boards.
  748. config NLM_XLR_BOARD
  749. bool "Netlogic XLR/XLS based systems"
  750. depends on EXPERIMENTAL
  751. select BOOT_ELF32
  752. select NLM_COMMON
  753. select SYS_HAS_CPU_XLR
  754. select SYS_SUPPORTS_SMP
  755. select HW_HAS_PCI
  756. select SWAP_IO_SPACE
  757. select SYS_SUPPORTS_32BIT_KERNEL
  758. select SYS_SUPPORTS_64BIT_KERNEL
  759. select 64BIT_PHYS_ADDR
  760. select SYS_SUPPORTS_BIG_ENDIAN
  761. select SYS_SUPPORTS_HIGHMEM
  762. select DMA_COHERENT
  763. select NR_CPUS_DEFAULT_32
  764. select CEVT_R4K
  765. select CSRC_R4K
  766. select IRQ_CPU
  767. select ARCH_SUPPORTS_MSI
  768. select ZONE_DMA if 64BIT
  769. select SYNC_R4K
  770. select SYS_HAS_EARLY_PRINTK
  771. select USB_ARCH_HAS_OHCI if USB_SUPPORT
  772. select USB_ARCH_HAS_EHCI if USB_SUPPORT
  773. help
  774. Support for systems based on Netlogic XLR and XLS processors.
  775. Say Y here if you have a XLR or XLS based board.
  776. config NLM_XLP_BOARD
  777. bool "Netlogic XLP based systems"
  778. depends on EXPERIMENTAL
  779. select BOOT_ELF32
  780. select NLM_COMMON
  781. select SYS_HAS_CPU_XLP
  782. select SYS_SUPPORTS_SMP
  783. select HW_HAS_PCI
  784. select SYS_SUPPORTS_32BIT_KERNEL
  785. select SYS_SUPPORTS_64BIT_KERNEL
  786. select 64BIT_PHYS_ADDR
  787. select SYS_SUPPORTS_BIG_ENDIAN
  788. select SYS_SUPPORTS_LITTLE_ENDIAN
  789. select SYS_SUPPORTS_HIGHMEM
  790. select DMA_COHERENT
  791. select NR_CPUS_DEFAULT_32
  792. select CEVT_R4K
  793. select CSRC_R4K
  794. select IRQ_CPU
  795. select ZONE_DMA if 64BIT
  796. select SYNC_R4K
  797. select SYS_HAS_EARLY_PRINTK
  798. select USE_OF
  799. help
  800. This board is based on Netlogic XLP Processor.
  801. Say Y here if you have a XLP based board.
  802. endchoice
  803. source "arch/mips/alchemy/Kconfig"
  804. source "arch/mips/ath79/Kconfig"
  805. source "arch/mips/bcm47xx/Kconfig"
  806. source "arch/mips/bcm63xx/Kconfig"
  807. source "arch/mips/jazz/Kconfig"
  808. source "arch/mips/jz4740/Kconfig"
  809. source "arch/mips/lantiq/Kconfig"
  810. source "arch/mips/lasat/Kconfig"
  811. source "arch/mips/pmc-sierra/Kconfig"
  812. source "arch/mips/powertv/Kconfig"
  813. source "arch/mips/sgi-ip27/Kconfig"
  814. source "arch/mips/sibyte/Kconfig"
  815. source "arch/mips/txx9/Kconfig"
  816. source "arch/mips/vr41xx/Kconfig"
  817. source "arch/mips/cavium-octeon/Kconfig"
  818. source "arch/mips/loongson/Kconfig"
  819. source "arch/mips/loongson1/Kconfig"
  820. source "arch/mips/netlogic/Kconfig"
  821. endmenu
  822. config RWSEM_GENERIC_SPINLOCK
  823. bool
  824. default y
  825. config RWSEM_XCHGADD_ALGORITHM
  826. bool
  827. config ARCH_HAS_ILOG2_U32
  828. bool
  829. default n
  830. config ARCH_HAS_ILOG2_U64
  831. bool
  832. default n
  833. config GENERIC_HWEIGHT
  834. bool
  835. default y
  836. config GENERIC_CALIBRATE_DELAY
  837. bool
  838. default y
  839. config SCHED_OMIT_FRAME_POINTER
  840. bool
  841. default y
  842. #
  843. # Select some configuration options automatically based on user selections.
  844. #
  845. config ARC
  846. bool
  847. config ARCH_MAY_HAVE_PC_FDC
  848. bool
  849. config BOOT_RAW
  850. bool
  851. config CEVT_BCM1480
  852. bool
  853. config CEVT_DS1287
  854. bool
  855. config CEVT_GT641XX
  856. bool
  857. config CEVT_R4K_LIB
  858. bool
  859. config CEVT_R4K
  860. select CEVT_R4K_LIB
  861. bool
  862. config CEVT_SB1250
  863. bool
  864. config CEVT_TXX9
  865. bool
  866. config CSRC_BCM1480
  867. bool
  868. config CSRC_IOASIC
  869. bool
  870. config CSRC_POWERTV
  871. bool
  872. config CSRC_R4K_LIB
  873. bool
  874. config CSRC_R4K
  875. select CSRC_R4K_LIB
  876. bool
  877. config CSRC_SB1250
  878. bool
  879. config GPIO_TXX9
  880. select GENERIC_GPIO
  881. select ARCH_REQUIRE_GPIOLIB
  882. bool
  883. config CFE
  884. bool
  885. config ARCH_DMA_ADDR_T_64BIT
  886. def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
  887. config DMA_COHERENT
  888. bool
  889. config DMA_NONCOHERENT
  890. bool
  891. select NEED_DMA_MAP_STATE
  892. config NEED_DMA_MAP_STATE
  893. bool
  894. config SYS_HAS_EARLY_PRINTK
  895. bool
  896. config HOTPLUG_CPU
  897. bool "Support for hot-pluggable CPUs"
  898. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  899. help
  900. Say Y here to allow turning CPUs off and on. CPUs can be
  901. controlled through /sys/devices/system/cpu.
  902. (Note: power management support will enable this option
  903. automatically on SMP systems. )
  904. Say N if you want to disable CPU hotplug.
  905. config SYS_SUPPORTS_HOTPLUG_CPU
  906. bool
  907. config I8259
  908. bool
  909. config MIPS_BONITO64
  910. bool
  911. config MIPS_MSC
  912. bool
  913. config MIPS_NILE4
  914. bool
  915. config MIPS_DISABLE_OBSOLETE_IDE
  916. bool
  917. config SYNC_R4K
  918. bool
  919. config MIPS_MACHINE
  920. def_bool n
  921. config NO_IOPORT
  922. def_bool n
  923. config GENERIC_ISA_DMA
  924. bool
  925. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  926. select ISA_DMA_API
  927. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  928. bool
  929. select GENERIC_ISA_DMA
  930. config ISA_DMA_API
  931. bool
  932. config GENERIC_GPIO
  933. bool
  934. config HOLES_IN_ZONE
  935. bool
  936. #
  937. # Endianness selection. Sufficiently obscure so many users don't know what to
  938. # answer,so we try hard to limit the available choices. Also the use of a
  939. # choice statement should be more obvious to the user.
  940. #
  941. choice
  942. prompt "Endianness selection"
  943. help
  944. Some MIPS machines can be configured for either little or big endian
  945. byte order. These modes require different kernels and a different
  946. Linux distribution. In general there is one preferred byteorder for a
  947. particular system but some systems are just as commonly used in the
  948. one or the other endianness.
  949. config CPU_BIG_ENDIAN
  950. bool "Big endian"
  951. depends on SYS_SUPPORTS_BIG_ENDIAN
  952. config CPU_LITTLE_ENDIAN
  953. bool "Little endian"
  954. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  955. help
  956. endchoice
  957. config EXPORT_UASM
  958. bool
  959. config SYS_SUPPORTS_APM_EMULATION
  960. bool
  961. config SYS_SUPPORTS_BIG_ENDIAN
  962. bool
  963. config SYS_SUPPORTS_LITTLE_ENDIAN
  964. bool
  965. config SYS_SUPPORTS_HUGETLBFS
  966. bool
  967. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  968. default y
  969. config MIPS_HUGE_TLB_SUPPORT
  970. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  971. config IRQ_CPU
  972. bool
  973. config IRQ_CPU_RM7K
  974. bool
  975. config IRQ_CPU_RM9K
  976. bool
  977. config IRQ_MSP_SLP
  978. bool
  979. config IRQ_MSP_CIC
  980. bool
  981. config IRQ_TXX9
  982. bool
  983. config IRQ_GT641XX
  984. bool
  985. config IRQ_GIC
  986. bool
  987. config MIPS_BOARDS_GEN
  988. bool
  989. config PCI_GT64XXX_PCI0
  990. bool
  991. config NO_EXCEPT_FILL
  992. bool
  993. config MIPS_RM9122
  994. bool
  995. select SERIAL_RM9000
  996. config SOC_EMMA2RH
  997. bool
  998. select CEVT_R4K
  999. select CSRC_R4K
  1000. select DMA_NONCOHERENT
  1001. select IRQ_CPU
  1002. select SWAP_IO_SPACE
  1003. select SYS_HAS_CPU_R5500
  1004. select SYS_SUPPORTS_32BIT_KERNEL
  1005. select SYS_SUPPORTS_64BIT_KERNEL
  1006. select SYS_SUPPORTS_BIG_ENDIAN
  1007. config SOC_PNX833X
  1008. bool
  1009. select CEVT_R4K
  1010. select CSRC_R4K
  1011. select IRQ_CPU
  1012. select DMA_NONCOHERENT
  1013. select SYS_HAS_CPU_MIPS32_R2
  1014. select SYS_SUPPORTS_32BIT_KERNEL
  1015. select SYS_SUPPORTS_LITTLE_ENDIAN
  1016. select SYS_SUPPORTS_BIG_ENDIAN
  1017. select GENERIC_GPIO
  1018. select CPU_MIPSR2_IRQ_VI
  1019. config SOC_PNX8335
  1020. bool
  1021. select SOC_PNX833X
  1022. config PNX8550
  1023. bool
  1024. select SOC_PNX8550
  1025. config SOC_PNX8550
  1026. bool
  1027. select DMA_NONCOHERENT
  1028. select HW_HAS_PCI
  1029. select SYS_HAS_CPU_MIPS32_R1
  1030. select SYS_HAS_EARLY_PRINTK
  1031. select SYS_SUPPORTS_32BIT_KERNEL
  1032. select GENERIC_GPIO
  1033. config SWAP_IO_SPACE
  1034. bool
  1035. config SERIAL_RM9000
  1036. bool
  1037. config SGI_HAS_INDYDOG
  1038. bool
  1039. config SGI_HAS_HAL2
  1040. bool
  1041. config SGI_HAS_SEEQ
  1042. bool
  1043. config SGI_HAS_WD93
  1044. bool
  1045. config SGI_HAS_ZILOG
  1046. bool
  1047. config SGI_HAS_I8042
  1048. bool
  1049. config DEFAULT_SGI_PARTITION
  1050. bool
  1051. config ARC32
  1052. bool
  1053. config SNIPROM
  1054. bool
  1055. config BOOT_ELF32
  1056. bool
  1057. config MIPS_L1_CACHE_SHIFT
  1058. int
  1059. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  1060. default "6" if MIPS_CPU_SCACHE
  1061. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  1062. default "5"
  1063. config HAVE_STD_PC_SERIAL_PORT
  1064. bool
  1065. config ARC_CONSOLE
  1066. bool "ARC console support"
  1067. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1068. config ARC_MEMORY
  1069. bool
  1070. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1071. default y
  1072. config ARC_PROMLIB
  1073. bool
  1074. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1075. default y
  1076. config ARC64
  1077. bool
  1078. config BOOT_ELF64
  1079. bool
  1080. menu "CPU selection"
  1081. choice
  1082. prompt "CPU type"
  1083. default CPU_R4X00
  1084. config CPU_LOONGSON2E
  1085. bool "Loongson 2E"
  1086. depends on SYS_HAS_CPU_LOONGSON2E
  1087. select CPU_LOONGSON2
  1088. help
  1089. The Loongson 2E processor implements the MIPS III instruction set
  1090. with many extensions.
  1091. It has an internal FPGA northbridge, which is compatible to
  1092. bonito64.
  1093. config CPU_LOONGSON2F
  1094. bool "Loongson 2F"
  1095. depends on SYS_HAS_CPU_LOONGSON2F
  1096. select CPU_LOONGSON2
  1097. select GENERIC_GPIO
  1098. select ARCH_REQUIRE_GPIOLIB
  1099. help
  1100. The Loongson 2F processor implements the MIPS III instruction set
  1101. with many extensions.
  1102. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1103. have a similar programming interface with FPGA northbridge used in
  1104. Loongson2E.
  1105. config CPU_LOONGSON1B
  1106. bool "Loongson 1B"
  1107. depends on SYS_HAS_CPU_LOONGSON1B
  1108. select CPU_LOONGSON1
  1109. help
  1110. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1111. release 2 instruction set.
  1112. config CPU_MIPS32_R1
  1113. bool "MIPS32 Release 1"
  1114. depends on SYS_HAS_CPU_MIPS32_R1
  1115. select CPU_HAS_PREFETCH
  1116. select CPU_SUPPORTS_32BIT_KERNEL
  1117. select CPU_SUPPORTS_HIGHMEM
  1118. help
  1119. Choose this option to build a kernel for release 1 or later of the
  1120. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1121. MIPS processor are based on a MIPS32 processor. If you know the
  1122. specific type of processor in your system, choose those that one
  1123. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1124. Release 2 of the MIPS32 architecture is available since several
  1125. years so chances are you even have a MIPS32 Release 2 processor
  1126. in which case you should choose CPU_MIPS32_R2 instead for better
  1127. performance.
  1128. config CPU_MIPS32_R2
  1129. bool "MIPS32 Release 2"
  1130. depends on SYS_HAS_CPU_MIPS32_R2
  1131. select CPU_HAS_PREFETCH
  1132. select CPU_SUPPORTS_32BIT_KERNEL
  1133. select CPU_SUPPORTS_HIGHMEM
  1134. help
  1135. Choose this option to build a kernel for release 2 or later of the
  1136. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1137. MIPS processor are based on a MIPS32 processor. If you know the
  1138. specific type of processor in your system, choose those that one
  1139. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1140. config CPU_MIPS64_R1
  1141. bool "MIPS64 Release 1"
  1142. depends on SYS_HAS_CPU_MIPS64_R1
  1143. select CPU_HAS_PREFETCH
  1144. select CPU_SUPPORTS_32BIT_KERNEL
  1145. select CPU_SUPPORTS_64BIT_KERNEL
  1146. select CPU_SUPPORTS_HIGHMEM
  1147. select CPU_SUPPORTS_HUGEPAGES
  1148. help
  1149. Choose this option to build a kernel for release 1 or later of the
  1150. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1151. MIPS processor are based on a MIPS64 processor. If you know the
  1152. specific type of processor in your system, choose those that one
  1153. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1154. Release 2 of the MIPS64 architecture is available since several
  1155. years so chances are you even have a MIPS64 Release 2 processor
  1156. in which case you should choose CPU_MIPS64_R2 instead for better
  1157. performance.
  1158. config CPU_MIPS64_R2
  1159. bool "MIPS64 Release 2"
  1160. depends on SYS_HAS_CPU_MIPS64_R2
  1161. select CPU_HAS_PREFETCH
  1162. select CPU_SUPPORTS_32BIT_KERNEL
  1163. select CPU_SUPPORTS_64BIT_KERNEL
  1164. select CPU_SUPPORTS_HIGHMEM
  1165. select CPU_SUPPORTS_HUGEPAGES
  1166. help
  1167. Choose this option to build a kernel for release 2 or later of the
  1168. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1169. MIPS processor are based on a MIPS64 processor. If you know the
  1170. specific type of processor in your system, choose those that one
  1171. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1172. config CPU_R3000
  1173. bool "R3000"
  1174. depends on SYS_HAS_CPU_R3000
  1175. select CPU_HAS_WB
  1176. select CPU_SUPPORTS_32BIT_KERNEL
  1177. select CPU_SUPPORTS_HIGHMEM
  1178. help
  1179. Please make sure to pick the right CPU type. Linux/MIPS is not
  1180. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1181. *not* work on R4000 machines and vice versa. However, since most
  1182. of the supported machines have an R4000 (or similar) CPU, R4x00
  1183. might be a safe bet. If the resulting kernel does not work,
  1184. try to recompile with R3000.
  1185. config CPU_TX39XX
  1186. bool "R39XX"
  1187. depends on SYS_HAS_CPU_TX39XX
  1188. select CPU_SUPPORTS_32BIT_KERNEL
  1189. config CPU_VR41XX
  1190. bool "R41xx"
  1191. depends on SYS_HAS_CPU_VR41XX
  1192. select CPU_SUPPORTS_32BIT_KERNEL
  1193. select CPU_SUPPORTS_64BIT_KERNEL
  1194. help
  1195. The options selects support for the NEC VR4100 series of processors.
  1196. Only choose this option if you have one of these processors as a
  1197. kernel built with this option will not run on any other type of
  1198. processor or vice versa.
  1199. config CPU_R4300
  1200. bool "R4300"
  1201. depends on SYS_HAS_CPU_R4300
  1202. select CPU_SUPPORTS_32BIT_KERNEL
  1203. select CPU_SUPPORTS_64BIT_KERNEL
  1204. help
  1205. MIPS Technologies R4300-series processors.
  1206. config CPU_R4X00
  1207. bool "R4x00"
  1208. depends on SYS_HAS_CPU_R4X00
  1209. select CPU_SUPPORTS_32BIT_KERNEL
  1210. select CPU_SUPPORTS_64BIT_KERNEL
  1211. help
  1212. MIPS Technologies R4000-series processors other than 4300, including
  1213. the R4000, R4400, R4600, and 4700.
  1214. config CPU_TX49XX
  1215. bool "R49XX"
  1216. depends on SYS_HAS_CPU_TX49XX
  1217. select CPU_HAS_PREFETCH
  1218. select CPU_SUPPORTS_32BIT_KERNEL
  1219. select CPU_SUPPORTS_64BIT_KERNEL
  1220. config CPU_R5000
  1221. bool "R5000"
  1222. depends on SYS_HAS_CPU_R5000
  1223. select CPU_SUPPORTS_32BIT_KERNEL
  1224. select CPU_SUPPORTS_64BIT_KERNEL
  1225. help
  1226. MIPS Technologies R5000-series processors other than the Nevada.
  1227. config CPU_R5432
  1228. bool "R5432"
  1229. depends on SYS_HAS_CPU_R5432
  1230. select CPU_SUPPORTS_32BIT_KERNEL
  1231. select CPU_SUPPORTS_64BIT_KERNEL
  1232. config CPU_R5500
  1233. bool "R5500"
  1234. depends on SYS_HAS_CPU_R5500
  1235. select CPU_SUPPORTS_32BIT_KERNEL
  1236. select CPU_SUPPORTS_64BIT_KERNEL
  1237. select CPU_SUPPORTS_HUGEPAGES
  1238. help
  1239. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1240. instruction set.
  1241. config CPU_R6000
  1242. bool "R6000"
  1243. depends on EXPERIMENTAL
  1244. depends on SYS_HAS_CPU_R6000
  1245. select CPU_SUPPORTS_32BIT_KERNEL
  1246. help
  1247. MIPS Technologies R6000 and R6000A series processors. Note these
  1248. processors are extremely rare and the support for them is incomplete.
  1249. config CPU_NEVADA
  1250. bool "RM52xx"
  1251. depends on SYS_HAS_CPU_NEVADA
  1252. select CPU_SUPPORTS_32BIT_KERNEL
  1253. select CPU_SUPPORTS_64BIT_KERNEL
  1254. help
  1255. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1256. config CPU_R8000
  1257. bool "R8000"
  1258. depends on EXPERIMENTAL
  1259. depends on SYS_HAS_CPU_R8000
  1260. select CPU_HAS_PREFETCH
  1261. select CPU_SUPPORTS_64BIT_KERNEL
  1262. help
  1263. MIPS Technologies R8000 processors. Note these processors are
  1264. uncommon and the support for them is incomplete.
  1265. config CPU_R10000
  1266. bool "R10000"
  1267. depends on SYS_HAS_CPU_R10000
  1268. select CPU_HAS_PREFETCH
  1269. select CPU_SUPPORTS_32BIT_KERNEL
  1270. select CPU_SUPPORTS_64BIT_KERNEL
  1271. select CPU_SUPPORTS_HIGHMEM
  1272. help
  1273. MIPS Technologies R10000-series processors.
  1274. config CPU_RM7000
  1275. bool "RM7000"
  1276. depends on SYS_HAS_CPU_RM7000
  1277. select CPU_HAS_PREFETCH
  1278. select CPU_SUPPORTS_32BIT_KERNEL
  1279. select CPU_SUPPORTS_64BIT_KERNEL
  1280. select CPU_SUPPORTS_HIGHMEM
  1281. config CPU_RM9000
  1282. bool "RM9000"
  1283. depends on SYS_HAS_CPU_RM9000
  1284. select CPU_HAS_PREFETCH
  1285. select CPU_SUPPORTS_32BIT_KERNEL
  1286. select CPU_SUPPORTS_64BIT_KERNEL
  1287. select CPU_SUPPORTS_HIGHMEM
  1288. select WEAK_ORDERING
  1289. config CPU_SB1
  1290. bool "SB1"
  1291. depends on SYS_HAS_CPU_SB1
  1292. select CPU_SUPPORTS_32BIT_KERNEL
  1293. select CPU_SUPPORTS_64BIT_KERNEL
  1294. select CPU_SUPPORTS_HIGHMEM
  1295. select WEAK_ORDERING
  1296. config CPU_CAVIUM_OCTEON
  1297. bool "Cavium Octeon processor"
  1298. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1299. select ARCH_SPARSEMEM_ENABLE
  1300. select CPU_HAS_PREFETCH
  1301. select CPU_SUPPORTS_64BIT_KERNEL
  1302. select SYS_SUPPORTS_SMP
  1303. select NR_CPUS_DEFAULT_16
  1304. select WEAK_ORDERING
  1305. select CPU_SUPPORTS_HIGHMEM
  1306. select CPU_SUPPORTS_HUGEPAGES
  1307. select LIBFDT
  1308. select USE_OF
  1309. help
  1310. The Cavium Octeon processor is a highly integrated chip containing
  1311. many ethernet hardware widgets for networking tasks. The processor
  1312. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1313. Full details can be found at http://www.caviumnetworks.com.
  1314. config CPU_BMIPS3300
  1315. bool "BMIPS3300"
  1316. depends on SYS_HAS_CPU_BMIPS3300
  1317. select CPU_BMIPS
  1318. help
  1319. Broadcom BMIPS3300 processors.
  1320. config CPU_BMIPS4350
  1321. bool "BMIPS4350"
  1322. depends on SYS_HAS_CPU_BMIPS4350
  1323. select CPU_BMIPS
  1324. select SYS_SUPPORTS_SMP
  1325. select SYS_SUPPORTS_HOTPLUG_CPU
  1326. help
  1327. Broadcom BMIPS4350 ("VIPER") processors.
  1328. config CPU_BMIPS4380
  1329. bool "BMIPS4380"
  1330. depends on SYS_HAS_CPU_BMIPS4380
  1331. select CPU_BMIPS
  1332. select SYS_SUPPORTS_SMP
  1333. select SYS_SUPPORTS_HOTPLUG_CPU
  1334. help
  1335. Broadcom BMIPS4380 processors.
  1336. config CPU_BMIPS5000
  1337. bool "BMIPS5000"
  1338. depends on SYS_HAS_CPU_BMIPS5000
  1339. select CPU_BMIPS
  1340. select CPU_SUPPORTS_HIGHMEM
  1341. select MIPS_CPU_SCACHE
  1342. select SYS_SUPPORTS_SMP
  1343. select SYS_SUPPORTS_HOTPLUG_CPU
  1344. help
  1345. Broadcom BMIPS5000 processors.
  1346. config CPU_XLR
  1347. bool "Netlogic XLR SoC"
  1348. depends on SYS_HAS_CPU_XLR
  1349. select CPU_SUPPORTS_32BIT_KERNEL
  1350. select CPU_SUPPORTS_64BIT_KERNEL
  1351. select CPU_SUPPORTS_HIGHMEM
  1352. select WEAK_ORDERING
  1353. select WEAK_REORDERING_BEYOND_LLSC
  1354. select CPU_SUPPORTS_HUGEPAGES
  1355. help
  1356. Netlogic Microsystems XLR/XLS processors.
  1357. config CPU_XLP
  1358. bool "Netlogic XLP SoC"
  1359. depends on SYS_HAS_CPU_XLP
  1360. select CPU_SUPPORTS_32BIT_KERNEL
  1361. select CPU_SUPPORTS_64BIT_KERNEL
  1362. select CPU_SUPPORTS_HIGHMEM
  1363. select CPU_HAS_LLSC
  1364. select WEAK_ORDERING
  1365. select WEAK_REORDERING_BEYOND_LLSC
  1366. select CPU_HAS_PREFETCH
  1367. help
  1368. Netlogic Microsystems XLP processors.
  1369. endchoice
  1370. if CPU_LOONGSON2F
  1371. config CPU_NOP_WORKAROUNDS
  1372. bool
  1373. config CPU_JUMP_WORKAROUNDS
  1374. bool
  1375. config CPU_LOONGSON2F_WORKAROUNDS
  1376. bool "Loongson 2F Workarounds"
  1377. default y
  1378. select CPU_NOP_WORKAROUNDS
  1379. select CPU_JUMP_WORKAROUNDS
  1380. help
  1381. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1382. require workarounds. Without workarounds the system may hang
  1383. unexpectedly. For more information please refer to the gas
  1384. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1385. Loongson 2F03 and later have fixed these issues and no workarounds
  1386. are needed. The workarounds have no significant side effect on them
  1387. but may decrease the performance of the system so this option should
  1388. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1389. systems.
  1390. If unsure, please say Y.
  1391. endif # CPU_LOONGSON2F
  1392. config SYS_SUPPORTS_ZBOOT
  1393. bool
  1394. select HAVE_KERNEL_GZIP
  1395. select HAVE_KERNEL_BZIP2
  1396. select HAVE_KERNEL_LZMA
  1397. select HAVE_KERNEL_LZO
  1398. config SYS_SUPPORTS_ZBOOT_UART16550
  1399. bool
  1400. select SYS_SUPPORTS_ZBOOT
  1401. config CPU_LOONGSON2
  1402. bool
  1403. select CPU_SUPPORTS_32BIT_KERNEL
  1404. select CPU_SUPPORTS_64BIT_KERNEL
  1405. select CPU_SUPPORTS_HIGHMEM
  1406. config CPU_LOONGSON1
  1407. bool
  1408. select CPU_MIPS32
  1409. select CPU_MIPSR2
  1410. select CPU_HAS_PREFETCH
  1411. select CPU_SUPPORTS_32BIT_KERNEL
  1412. select CPU_SUPPORTS_HIGHMEM
  1413. config CPU_BMIPS
  1414. bool
  1415. select CPU_MIPS32
  1416. select CPU_SUPPORTS_32BIT_KERNEL
  1417. select DMA_NONCOHERENT
  1418. select IRQ_CPU
  1419. select SWAP_IO_SPACE
  1420. select WEAK_ORDERING
  1421. config SYS_HAS_CPU_LOONGSON2E
  1422. bool
  1423. config SYS_HAS_CPU_LOONGSON2F
  1424. bool
  1425. select CPU_SUPPORTS_CPUFREQ
  1426. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1427. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1428. config SYS_HAS_CPU_LOONGSON1B
  1429. bool
  1430. config SYS_HAS_CPU_MIPS32_R1
  1431. bool
  1432. config SYS_HAS_CPU_MIPS32_R2
  1433. bool
  1434. config SYS_HAS_CPU_MIPS64_R1
  1435. bool
  1436. config SYS_HAS_CPU_MIPS64_R2
  1437. bool
  1438. config SYS_HAS_CPU_R3000
  1439. bool
  1440. config SYS_HAS_CPU_TX39XX
  1441. bool
  1442. config SYS_HAS_CPU_VR41XX
  1443. bool
  1444. config SYS_HAS_CPU_R4300
  1445. bool
  1446. config SYS_HAS_CPU_R4X00
  1447. bool
  1448. config SYS_HAS_CPU_TX49XX
  1449. bool
  1450. config SYS_HAS_CPU_R5000
  1451. bool
  1452. config SYS_HAS_CPU_R5432
  1453. bool
  1454. config SYS_HAS_CPU_R5500
  1455. bool
  1456. config SYS_HAS_CPU_R6000
  1457. bool
  1458. config SYS_HAS_CPU_NEVADA
  1459. bool
  1460. config SYS_HAS_CPU_R8000
  1461. bool
  1462. config SYS_HAS_CPU_R10000
  1463. bool
  1464. config SYS_HAS_CPU_RM7000
  1465. bool
  1466. config SYS_HAS_CPU_RM9000
  1467. bool
  1468. config SYS_HAS_CPU_SB1
  1469. bool
  1470. config SYS_HAS_CPU_CAVIUM_OCTEON
  1471. bool
  1472. config SYS_HAS_CPU_BMIPS3300
  1473. bool
  1474. config SYS_HAS_CPU_BMIPS4350
  1475. bool
  1476. config SYS_HAS_CPU_BMIPS4380
  1477. bool
  1478. config SYS_HAS_CPU_BMIPS5000
  1479. bool
  1480. config SYS_HAS_CPU_XLR
  1481. bool
  1482. config SYS_HAS_CPU_XLP
  1483. bool
  1484. #
  1485. # CPU may reorder R->R, R->W, W->R, W->W
  1486. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1487. #
  1488. config WEAK_ORDERING
  1489. bool
  1490. #
  1491. # CPU may reorder reads and writes beyond LL/SC
  1492. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1493. #
  1494. config WEAK_REORDERING_BEYOND_LLSC
  1495. bool
  1496. endmenu
  1497. #
  1498. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1499. #
  1500. config CPU_MIPS32
  1501. bool
  1502. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1503. config CPU_MIPS64
  1504. bool
  1505. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1506. #
  1507. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1508. #
  1509. config CPU_MIPSR1
  1510. bool
  1511. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1512. config CPU_MIPSR2
  1513. bool
  1514. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1515. config SYS_SUPPORTS_32BIT_KERNEL
  1516. bool
  1517. config SYS_SUPPORTS_64BIT_KERNEL
  1518. bool
  1519. config CPU_SUPPORTS_32BIT_KERNEL
  1520. bool
  1521. config CPU_SUPPORTS_64BIT_KERNEL
  1522. bool
  1523. config CPU_SUPPORTS_CPUFREQ
  1524. bool
  1525. config CPU_SUPPORTS_ADDRWINCFG
  1526. bool
  1527. config CPU_SUPPORTS_HUGEPAGES
  1528. bool
  1529. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1530. bool
  1531. config MIPS_PGD_C0_CONTEXT
  1532. bool
  1533. default y if 64BIT && CPU_MIPSR2
  1534. #
  1535. # Set to y for ptrace access to watch registers.
  1536. #
  1537. config HARDWARE_WATCHPOINTS
  1538. bool
  1539. default y if CPU_MIPSR1 || CPU_MIPSR2
  1540. menu "Kernel type"
  1541. choice
  1542. prompt "Kernel code model"
  1543. help
  1544. You should only select this option if you have a workload that
  1545. actually benefits from 64-bit processing or if your machine has
  1546. large memory. You will only be presented a single option in this
  1547. menu if your system does not support both 32-bit and 64-bit kernels.
  1548. config 32BIT
  1549. bool "32-bit kernel"
  1550. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1551. select TRAD_SIGNALS
  1552. help
  1553. Select this option if you want to build a 32-bit kernel.
  1554. config 64BIT
  1555. bool "64-bit kernel"
  1556. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1557. select HAVE_SYSCALL_WRAPPERS
  1558. help
  1559. Select this option if you want to build a 64-bit kernel.
  1560. endchoice
  1561. choice
  1562. prompt "Kernel page size"
  1563. default PAGE_SIZE_4KB
  1564. config PAGE_SIZE_4KB
  1565. bool "4kB"
  1566. depends on !CPU_LOONGSON2
  1567. help
  1568. This option select the standard 4kB Linux page size. On some
  1569. R3000-family processors this is the only available page size. Using
  1570. 4kB page size will minimize memory consumption and is therefore
  1571. recommended for low memory systems.
  1572. config PAGE_SIZE_8KB
  1573. bool "8kB"
  1574. depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
  1575. help
  1576. Using 8kB page size will result in higher performance kernel at
  1577. the price of higher memory consumption. This option is available
  1578. only on R8000 and cnMIPS processors. Note that you will need a
  1579. suitable Linux distribution to support this.
  1580. config PAGE_SIZE_16KB
  1581. bool "16kB"
  1582. depends on !CPU_R3000 && !CPU_TX39XX
  1583. help
  1584. Using 16kB page size will result in higher performance kernel at
  1585. the price of higher memory consumption. This option is available on
  1586. all non-R3000 family processors. Note that you will need a suitable
  1587. Linux distribution to support this.
  1588. config PAGE_SIZE_32KB
  1589. bool "32kB"
  1590. depends on CPU_CAVIUM_OCTEON
  1591. help
  1592. Using 32kB page size will result in higher performance kernel at
  1593. the price of higher memory consumption. This option is available
  1594. only on cnMIPS cores. Note that you will need a suitable Linux
  1595. distribution to support this.
  1596. config PAGE_SIZE_64KB
  1597. bool "64kB"
  1598. depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  1599. help
  1600. Using 64kB page size will result in higher performance kernel at
  1601. the price of higher memory consumption. This option is available on
  1602. all non-R3000 family processor. Not that at the time of this
  1603. writing this option is still high experimental.
  1604. endchoice
  1605. config FORCE_MAX_ZONEORDER
  1606. int "Maximum zone order"
  1607. range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
  1608. default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
  1609. range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
  1610. default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
  1611. range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
  1612. default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
  1613. range 11 64
  1614. default "11"
  1615. help
  1616. The kernel memory allocator divides physically contiguous memory
  1617. blocks into "zones", where each zone is a power of two number of
  1618. pages. This option selects the largest power of two that the kernel
  1619. keeps in the memory allocator. If you need to allocate very large
  1620. blocks of physically contiguous memory, then you may need to
  1621. increase this value.
  1622. This config option is actually maximum order plus one. For example,
  1623. a value of 11 means that the largest free memory block is 2^10 pages.
  1624. The page size is not necessarily 4KB. Keep this in mind
  1625. when choosing a value for this option.
  1626. config BOARD_SCACHE
  1627. bool
  1628. config IP22_CPU_SCACHE
  1629. bool
  1630. select BOARD_SCACHE
  1631. #
  1632. # Support for a MIPS32 / MIPS64 style S-caches
  1633. #
  1634. config MIPS_CPU_SCACHE
  1635. bool
  1636. select BOARD_SCACHE
  1637. config R5000_CPU_SCACHE
  1638. bool
  1639. select BOARD_SCACHE
  1640. config RM7000_CPU_SCACHE
  1641. bool
  1642. select BOARD_SCACHE
  1643. config SIBYTE_DMA_PAGEOPS
  1644. bool "Use DMA to clear/copy pages"
  1645. depends on CPU_SB1
  1646. help
  1647. Instead of using the CPU to zero and copy pages, use a Data Mover
  1648. channel. These DMA channels are otherwise unused by the standard
  1649. SiByte Linux port. Seems to give a small performance benefit.
  1650. config CPU_HAS_PREFETCH
  1651. bool
  1652. config CPU_GENERIC_DUMP_TLB
  1653. bool
  1654. default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
  1655. config CPU_R4K_FPU
  1656. bool
  1657. default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1658. config CPU_R4K_CACHE_TLB
  1659. bool
  1660. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1661. choice
  1662. prompt "MIPS MT options"
  1663. config MIPS_MT_DISABLED
  1664. bool "Disable multithreading support."
  1665. help
  1666. Use this option if your workload can't take advantage of
  1667. MIPS hardware multithreading support. On systems that don't have
  1668. the option of an MT-enabled processor this option will be the only
  1669. option in this menu.
  1670. config MIPS_MT_SMP
  1671. bool "Use 1 TC on each available VPE for SMP"
  1672. depends on SYS_SUPPORTS_MULTITHREADING
  1673. select CPU_MIPSR2_IRQ_VI
  1674. select CPU_MIPSR2_IRQ_EI
  1675. select MIPS_MT
  1676. select NR_CPUS_DEFAULT_2
  1677. select SMP
  1678. select SYS_SUPPORTS_SCHED_SMT if SMP
  1679. select SYS_SUPPORTS_SMP
  1680. select SMP_UP
  1681. select MIPS_PERF_SHARED_TC_COUNTERS
  1682. help
  1683. This is a kernel model which is known a VSMP but lately has been
  1684. marketesed into SMVP.
  1685. Virtual SMP uses the processor's VPEs to implement virtual
  1686. processors. In currently available configuration of the 34K processor
  1687. this allows for a dual processor. Both processors will share the same
  1688. primary caches; each will obtain the half of the TLB for it's own
  1689. exclusive use. For a layman this model can be described as similar to
  1690. what Intel calls Hyperthreading.
  1691. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1692. config MIPS_MT_SMTC
  1693. bool "SMTC: Use all TCs on all VPEs for SMP"
  1694. depends on CPU_MIPS32_R2
  1695. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1696. depends on SYS_SUPPORTS_MULTITHREADING
  1697. select CPU_MIPSR2_IRQ_VI
  1698. select CPU_MIPSR2_IRQ_EI
  1699. select MIPS_MT
  1700. select NR_CPUS_DEFAULT_8
  1701. select SMP
  1702. select SYS_SUPPORTS_SMP
  1703. select SMP_UP
  1704. help
  1705. This is a kernel model which is known a SMTC or lately has been
  1706. marketesed into SMVP.
  1707. is presenting the available TC's of the core as processors to Linux.
  1708. On currently available 34K processors this means a Linux system will
  1709. see up to 5 processors. The implementation of the SMTC kernel differs
  1710. significantly from VSMP and cannot efficiently coexist in the same
  1711. kernel binary so the choice between VSMP and SMTC is a compile time
  1712. decision.
  1713. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1714. endchoice
  1715. config MIPS_MT
  1716. bool
  1717. config SCHED_SMT
  1718. bool "SMT (multithreading) scheduler support"
  1719. depends on SYS_SUPPORTS_SCHED_SMT
  1720. default n
  1721. help
  1722. SMT scheduler support improves the CPU scheduler's decision making
  1723. when dealing with MIPS MT enabled cores at a cost of slightly
  1724. increased overhead in some places. If unsure say N here.
  1725. config SYS_SUPPORTS_SCHED_SMT
  1726. bool
  1727. config SYS_SUPPORTS_MULTITHREADING
  1728. bool
  1729. config MIPS_MT_FPAFF
  1730. bool "Dynamic FPU affinity for FP-intensive threads"
  1731. default y
  1732. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1733. config MIPS_VPE_LOADER
  1734. bool "VPE loader support."
  1735. depends on SYS_SUPPORTS_MULTITHREADING
  1736. select CPU_MIPSR2_IRQ_VI
  1737. select CPU_MIPSR2_IRQ_EI
  1738. select MIPS_MT
  1739. help
  1740. Includes a loader for loading an elf relocatable object
  1741. onto another VPE and running it.
  1742. config MIPS_MT_SMTC_IM_BACKSTOP
  1743. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1744. depends on MIPS_MT_SMTC
  1745. default n
  1746. help
  1747. To support multiple TC microthreads acting as "CPUs" within
  1748. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1749. during interrupt handling. To support legacy drivers and interrupt
  1750. controller management code, SMTC has a "backstop" to track and
  1751. if necessary restore the interrupt mask. This has some performance
  1752. impact on interrupt service overhead.
  1753. config MIPS_MT_SMTC_IRQAFF
  1754. bool "Support IRQ affinity API"
  1755. depends on MIPS_MT_SMTC
  1756. default n
  1757. help
  1758. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1759. for SMTC Linux kernel. Requires platform support, of which
  1760. an example can be found in the MIPS kernel i8259 and Malta
  1761. platform code. Adds some overhead to interrupt dispatch, and
  1762. should be used only if you know what you are doing.
  1763. config MIPS_VPE_LOADER_TOM
  1764. bool "Load VPE program into memory hidden from linux"
  1765. depends on MIPS_VPE_LOADER
  1766. default y
  1767. help
  1768. The loader can use memory that is present but has been hidden from
  1769. Linux using the kernel command line option "mem=xxMB". It's up to
  1770. you to ensure the amount you put in the option and the space your
  1771. program requires is less or equal to the amount physically present.
  1772. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1773. config MIPS_VPE_APSP_API
  1774. bool "Enable support for AP/SP API (RTLX)"
  1775. depends on MIPS_VPE_LOADER
  1776. help
  1777. config MIPS_CMP
  1778. bool "MIPS CMP framework support"
  1779. depends on SYS_SUPPORTS_MIPS_CMP
  1780. select SYNC_R4K
  1781. select SYS_SUPPORTS_SMP
  1782. select SYS_SUPPORTS_SCHED_SMT if SMP
  1783. select WEAK_ORDERING
  1784. default n
  1785. help
  1786. This is a placeholder option for the GCMP work. It will need to
  1787. be handled differently...
  1788. config SB1_PASS_1_WORKAROUNDS
  1789. bool
  1790. depends on CPU_SB1_PASS_1
  1791. default y
  1792. config SB1_PASS_2_WORKAROUNDS
  1793. bool
  1794. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1795. default y
  1796. config SB1_PASS_2_1_WORKAROUNDS
  1797. bool
  1798. depends on CPU_SB1 && CPU_SB1_PASS_2
  1799. default y
  1800. config 64BIT_PHYS_ADDR
  1801. bool
  1802. config ARCH_PHYS_ADDR_T_64BIT
  1803. def_bool 64BIT_PHYS_ADDR
  1804. config CPU_HAS_SMARTMIPS
  1805. depends on SYS_SUPPORTS_SMARTMIPS
  1806. bool "Support for the SmartMIPS ASE"
  1807. help
  1808. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1809. increased security at both hardware and software level for
  1810. smartcards. Enabling this option will allow proper use of the
  1811. SmartMIPS instructions by Linux applications. However a kernel with
  1812. this option will not work on a MIPS core without SmartMIPS core. If
  1813. you don't know you probably don't have SmartMIPS and should say N
  1814. here.
  1815. config CPU_HAS_WB
  1816. bool
  1817. config XKS01
  1818. bool
  1819. #
  1820. # Vectored interrupt mode is an R2 feature
  1821. #
  1822. config CPU_MIPSR2_IRQ_VI
  1823. bool
  1824. #
  1825. # Extended interrupt mode is an R2 feature
  1826. #
  1827. config CPU_MIPSR2_IRQ_EI
  1828. bool
  1829. config CPU_HAS_SYNC
  1830. bool
  1831. depends on !CPU_R3000
  1832. default y
  1833. #
  1834. # CPU non-features
  1835. #
  1836. config CPU_DADDI_WORKAROUNDS
  1837. bool
  1838. config CPU_R4000_WORKAROUNDS
  1839. bool
  1840. select CPU_R4400_WORKAROUNDS
  1841. config CPU_R4400_WORKAROUNDS
  1842. bool
  1843. #
  1844. # - Highmem only makes sense for the 32-bit kernel.
  1845. # - The current highmem code will only work properly on physically indexed
  1846. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1847. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1848. # moment we protect the user and offer the highmem option only on machines
  1849. # where it's known to be safe. This will not offer highmem on a few systems
  1850. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1851. # indexed CPUs but we're playing safe.
  1852. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1853. # know they might have memory configurations that could make use of highmem
  1854. # support.
  1855. #
  1856. config HIGHMEM
  1857. bool "High Memory Support"
  1858. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1859. config CPU_SUPPORTS_HIGHMEM
  1860. bool
  1861. config SYS_SUPPORTS_HIGHMEM
  1862. bool
  1863. config SYS_SUPPORTS_SMARTMIPS
  1864. bool
  1865. config ARCH_FLATMEM_ENABLE
  1866. def_bool y
  1867. depends on !NUMA && !CPU_LOONGSON2
  1868. config ARCH_DISCONTIGMEM_ENABLE
  1869. bool
  1870. default y if SGI_IP27
  1871. help
  1872. Say Y to support efficient handling of discontiguous physical memory,
  1873. for architectures which are either NUMA (Non-Uniform Memory Access)
  1874. or have huge holes in the physical address space for other reasons.
  1875. See <file:Documentation/vm/numa> for more.
  1876. config ARCH_SPARSEMEM_ENABLE
  1877. bool
  1878. select SPARSEMEM_STATIC
  1879. config NUMA
  1880. bool "NUMA Support"
  1881. depends on SYS_SUPPORTS_NUMA
  1882. help
  1883. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1884. Access). This option improves performance on systems with more
  1885. than two nodes; on two node systems it is generally better to
  1886. leave it disabled; on single node systems disable this option
  1887. disabled.
  1888. config SYS_SUPPORTS_NUMA
  1889. bool
  1890. config NODES_SHIFT
  1891. int
  1892. default "6"
  1893. depends on NEED_MULTIPLE_NODES
  1894. config HW_PERF_EVENTS
  1895. bool "Enable hardware performance counter support for perf events"
  1896. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON)
  1897. default y
  1898. help
  1899. Enable hardware performance counter support for perf events. If
  1900. disabled, perf events will use software events only.
  1901. source "mm/Kconfig"
  1902. config SMP
  1903. bool "Multi-Processing support"
  1904. depends on SYS_SUPPORTS_SMP
  1905. select IRQ_PER_CPU
  1906. select USE_GENERIC_SMP_HELPERS
  1907. help
  1908. This enables support for systems with more than one CPU. If you have
  1909. a system with only one CPU, like most personal computers, say N. If
  1910. you have a system with more than one CPU, say Y.
  1911. If you say N here, the kernel will run on single and multiprocessor
  1912. machines, but will use only one CPU of a multiprocessor machine. If
  1913. you say Y here, the kernel will run on many, but not all,
  1914. singleprocessor machines. On a singleprocessor machine, the kernel
  1915. will run faster if you say N here.
  1916. People using multiprocessor machines who say Y here should also say
  1917. Y to "Enhanced Real Time Clock Support", below.
  1918. See also the SMP-HOWTO available at
  1919. <http://www.tldp.org/docs.html#howto>.
  1920. If you don't know what to do here, say N.
  1921. config SMP_UP
  1922. bool
  1923. config SYS_SUPPORTS_MIPS_CMP
  1924. bool
  1925. config SYS_SUPPORTS_SMP
  1926. bool
  1927. config NR_CPUS_DEFAULT_1
  1928. bool
  1929. config NR_CPUS_DEFAULT_2
  1930. bool
  1931. config NR_CPUS_DEFAULT_4
  1932. bool
  1933. config NR_CPUS_DEFAULT_8
  1934. bool
  1935. config NR_CPUS_DEFAULT_16
  1936. bool
  1937. config NR_CPUS_DEFAULT_32
  1938. bool
  1939. config NR_CPUS_DEFAULT_64
  1940. bool
  1941. config NR_CPUS
  1942. int "Maximum number of CPUs (2-64)"
  1943. range 1 64 if NR_CPUS_DEFAULT_1
  1944. depends on SMP
  1945. default "1" if NR_CPUS_DEFAULT_1
  1946. default "2" if NR_CPUS_DEFAULT_2
  1947. default "4" if NR_CPUS_DEFAULT_4
  1948. default "8" if NR_CPUS_DEFAULT_8
  1949. default "16" if NR_CPUS_DEFAULT_16
  1950. default "32" if NR_CPUS_DEFAULT_32
  1951. default "64" if NR_CPUS_DEFAULT_64
  1952. help
  1953. This allows you to specify the maximum number of CPUs which this
  1954. kernel will support. The maximum supported value is 32 for 32-bit
  1955. kernel and 64 for 64-bit kernels; the minimum value which makes
  1956. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1957. and 2 for all others.
  1958. This is purely to save memory - each supported CPU adds
  1959. approximately eight kilobytes to the kernel image. For best
  1960. performance should round up your number of processors to the next
  1961. power of two.
  1962. config MIPS_PERF_SHARED_TC_COUNTERS
  1963. bool
  1964. #
  1965. # Timer Interrupt Frequency Configuration
  1966. #
  1967. choice
  1968. prompt "Timer frequency"
  1969. default HZ_250
  1970. help
  1971. Allows the configuration of the timer frequency.
  1972. config HZ_48
  1973. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1974. config HZ_100
  1975. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1976. config HZ_128
  1977. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1978. config HZ_250
  1979. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1980. config HZ_256
  1981. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1982. config HZ_1000
  1983. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1984. config HZ_1024
  1985. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1986. endchoice
  1987. config SYS_SUPPORTS_48HZ
  1988. bool
  1989. config SYS_SUPPORTS_100HZ
  1990. bool
  1991. config SYS_SUPPORTS_128HZ
  1992. bool
  1993. config SYS_SUPPORTS_250HZ
  1994. bool
  1995. config SYS_SUPPORTS_256HZ
  1996. bool
  1997. config SYS_SUPPORTS_1000HZ
  1998. bool
  1999. config SYS_SUPPORTS_1024HZ
  2000. bool
  2001. config SYS_SUPPORTS_ARBIT_HZ
  2002. bool
  2003. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  2004. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  2005. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  2006. !SYS_SUPPORTS_1024HZ
  2007. config HZ
  2008. int
  2009. default 48 if HZ_48
  2010. default 100 if HZ_100
  2011. default 128 if HZ_128
  2012. default 250 if HZ_250
  2013. default 256 if HZ_256
  2014. default 1000 if HZ_1000
  2015. default 1024 if HZ_1024
  2016. source "kernel/Kconfig.preempt"
  2017. config KEXEC
  2018. bool "Kexec system call (EXPERIMENTAL)"
  2019. depends on EXPERIMENTAL
  2020. help
  2021. kexec is a system call that implements the ability to shutdown your
  2022. current kernel, and to start another kernel. It is like a reboot
  2023. but it is independent of the system firmware. And like a reboot
  2024. you can start any kernel with it, not just Linux.
  2025. The name comes from the similarity to the exec system call.
  2026. It is an ongoing process to be certain the hardware in a machine
  2027. is properly shutdown, so do not be surprised if this code does not
  2028. initially work for you. It may help to enable device hotplugging
  2029. support. As of this writing the exact hardware interface is
  2030. strongly in flux, so no good recommendation can be made.
  2031. config SECCOMP
  2032. bool "Enable seccomp to safely compute untrusted bytecode"
  2033. depends on PROC_FS
  2034. default y
  2035. help
  2036. This kernel feature is useful for number crunching applications
  2037. that may need to compute untrusted bytecode during their
  2038. execution. By using pipes or other transports made available to
  2039. the process as file descriptors supporting the read/write
  2040. syscalls, it's possible to isolate those applications in
  2041. their own address space using seccomp. Once seccomp is
  2042. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2043. and the task is only allowed to execute a few safe syscalls
  2044. defined by each seccomp mode.
  2045. If unsure, say Y. Only embedded should say N here.
  2046. config USE_OF
  2047. bool
  2048. select OF
  2049. select OF_EARLY_FLATTREE
  2050. select IRQ_DOMAIN
  2051. endmenu
  2052. config LOCKDEP_SUPPORT
  2053. bool
  2054. default y
  2055. config STACKTRACE_SUPPORT
  2056. bool
  2057. default y
  2058. source "init/Kconfig"
  2059. source "kernel/Kconfig.freezer"
  2060. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2061. config HW_HAS_EISA
  2062. bool
  2063. config HW_HAS_PCI
  2064. bool
  2065. config PCI
  2066. bool "Support for PCI controller"
  2067. depends on HW_HAS_PCI
  2068. select PCI_DOMAINS
  2069. select GENERIC_PCI_IOMAP
  2070. select NO_GENERIC_PCI_IOPORT_MAP
  2071. help
  2072. Find out whether you have a PCI motherboard. PCI is the name of a
  2073. bus system, i.e. the way the CPU talks to the other stuff inside
  2074. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2075. say Y, otherwise N.
  2076. config PCI_DOMAINS
  2077. bool
  2078. source "drivers/pci/Kconfig"
  2079. source "drivers/pci/pcie/Kconfig"
  2080. #
  2081. # ISA support is now enabled via select. Too many systems still have the one
  2082. # or other ISA chip on the board that users don't know about so don't expect
  2083. # users to choose the right thing ...
  2084. #
  2085. config ISA
  2086. bool
  2087. config EISA
  2088. bool "EISA support"
  2089. depends on HW_HAS_EISA
  2090. select ISA
  2091. select GENERIC_ISA_DMA
  2092. ---help---
  2093. The Extended Industry Standard Architecture (EISA) bus was
  2094. developed as an open alternative to the IBM MicroChannel bus.
  2095. The EISA bus provided some of the features of the IBM MicroChannel
  2096. bus while maintaining backward compatibility with cards made for
  2097. the older ISA bus. The EISA bus saw limited use between 1988 and
  2098. 1995 when it was made obsolete by the PCI bus.
  2099. Say Y here if you are building a kernel for an EISA-based machine.
  2100. Otherwise, say N.
  2101. source "drivers/eisa/Kconfig"
  2102. config TC
  2103. bool "TURBOchannel support"
  2104. depends on MACH_DECSTATION
  2105. help
  2106. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2107. processors. TURBOchannel programming specifications are available
  2108. at:
  2109. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2110. and:
  2111. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2112. Linux driver support status is documented at:
  2113. <http://www.linux-mips.org/wiki/DECstation>
  2114. config MMU
  2115. bool
  2116. default y
  2117. config I8253
  2118. bool
  2119. select CLKSRC_I8253
  2120. select CLKEVT_I8253
  2121. select MIPS_EXTERNAL_TIMER
  2122. config ZONE_DMA32
  2123. bool
  2124. source "drivers/pcmcia/Kconfig"
  2125. source "drivers/pci/hotplug/Kconfig"
  2126. config RAPIDIO
  2127. bool "RapidIO support"
  2128. depends on PCI
  2129. default n
  2130. help
  2131. If you say Y here, the kernel will include drivers and
  2132. infrastructure code to support RapidIO interconnect devices.
  2133. source "drivers/rapidio/Kconfig"
  2134. endmenu
  2135. menu "Executable file formats"
  2136. source "fs/Kconfig.binfmt"
  2137. config TRAD_SIGNALS
  2138. bool
  2139. config MIPS32_COMPAT
  2140. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  2141. depends on 64BIT
  2142. help
  2143. Select this option if you want Linux/MIPS 32-bit binary
  2144. compatibility. Since all software available for Linux/MIPS is
  2145. currently 32-bit you should say Y here.
  2146. config COMPAT
  2147. bool
  2148. depends on MIPS32_COMPAT
  2149. select ARCH_WANT_OLD_COMPAT_IPC
  2150. default y
  2151. config SYSVIPC_COMPAT
  2152. bool
  2153. depends on COMPAT && SYSVIPC
  2154. default y
  2155. config MIPS32_O32
  2156. bool "Kernel support for o32 binaries"
  2157. depends on MIPS32_COMPAT
  2158. help
  2159. Select this option if you want to run o32 binaries. These are pure
  2160. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2161. existing binaries are in this format.
  2162. If unsure, say Y.
  2163. config MIPS32_N32
  2164. bool "Kernel support for n32 binaries"
  2165. depends on MIPS32_COMPAT
  2166. help
  2167. Select this option if you want to run n32 binaries. These are
  2168. 64-bit binaries using 32-bit quantities for addressing and certain
  2169. data that would normally be 64-bit. They are used in special
  2170. cases.
  2171. If unsure, say N.
  2172. config BINFMT_ELF32
  2173. bool
  2174. default y if MIPS32_O32 || MIPS32_N32
  2175. endmenu
  2176. menu "Power management options"
  2177. config ARCH_HIBERNATION_POSSIBLE
  2178. def_bool y
  2179. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2180. config ARCH_SUSPEND_POSSIBLE
  2181. def_bool y
  2182. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2183. source "kernel/power/Kconfig"
  2184. endmenu
  2185. source "arch/mips/kernel/cpufreq/Kconfig"
  2186. source "net/Kconfig"
  2187. source "drivers/Kconfig"
  2188. source "fs/Kconfig"
  2189. source "arch/mips/Kconfig.debug"
  2190. source "security/Kconfig"
  2191. source "crypto/Kconfig"
  2192. source "lib/Kconfig"