Kconfig 62 KB

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