Kconfig 62 KB

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