Kconfig 61 KB

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