Kconfig 53 KB

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