Kconfig 61 KB

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