Kconfig 62 KB

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