Kconfig 62 KB

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