Kconfig 61 KB

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