Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  1. comment "Processor Type"
  2. # Select CPU types depending on the architecture selected. This selects
  3. # which CPUs we support in the kernel image, and the compiler instruction
  4. # optimiser behaviour.
  5. # ARM610
  6. config CPU_ARM610
  7. bool "Support ARM610 processor" if ARCH_RPC
  8. select CPU_32v3
  9. select CPU_CACHE_V3
  10. select CPU_CACHE_VIVT
  11. select CPU_CP15_MMU
  12. select CPU_COPY_V3 if MMU
  13. select CPU_TLB_V3 if MMU
  14. select CPU_PABRT_LEGACY
  15. help
  16. The ARM610 is the successor to the ARM3 processor
  17. and was produced by VLSI Technology Inc.
  18. Say Y if you want support for the ARM610 processor.
  19. Otherwise, say N.
  20. # ARM7TDMI
  21. config CPU_ARM7TDMI
  22. bool "Support ARM7TDMI processor"
  23. depends on !MMU
  24. select CPU_32v4T
  25. select CPU_ABRT_LV4T
  26. select CPU_PABRT_LEGACY
  27. select CPU_CACHE_V4
  28. help
  29. A 32-bit RISC microprocessor based on the ARM7 processor core
  30. which has no memory control unit and cache.
  31. Say Y if you want support for the ARM7TDMI processor.
  32. Otherwise, say N.
  33. # ARM710
  34. config CPU_ARM710
  35. bool "Support ARM710 processor" if ARCH_RPC
  36. select CPU_32v3
  37. select CPU_CACHE_V3
  38. select CPU_CACHE_VIVT
  39. select CPU_CP15_MMU
  40. select CPU_COPY_V3 if MMU
  41. select CPU_TLB_V3 if MMU
  42. select CPU_PABRT_LEGACY
  43. help
  44. A 32-bit RISC microprocessor based on the ARM7 processor core
  45. designed by Advanced RISC Machines Ltd. The ARM710 is the
  46. successor to the ARM610 processor. It was released in
  47. July 1994 by VLSI Technology Inc.
  48. Say Y if you want support for the ARM710 processor.
  49. Otherwise, say N.
  50. # ARM720T
  51. config CPU_ARM720T
  52. bool "Support ARM720T processor" if ARCH_INTEGRATOR
  53. select CPU_32v4T
  54. select CPU_ABRT_LV4T
  55. select CPU_PABRT_LEGACY
  56. select CPU_CACHE_V4
  57. select CPU_CACHE_VIVT
  58. select CPU_CP15_MMU
  59. select CPU_COPY_V4WT if MMU
  60. select CPU_TLB_V4WT if MMU
  61. help
  62. A 32-bit RISC processor with 8kByte Cache, Write Buffer and
  63. MMU built around an ARM7TDMI core.
  64. Say Y if you want support for the ARM720T processor.
  65. Otherwise, say N.
  66. # ARM740T
  67. config CPU_ARM740T
  68. bool "Support ARM740T processor" if ARCH_INTEGRATOR
  69. depends on !MMU
  70. select CPU_32v4T
  71. select CPU_ABRT_LV4T
  72. select CPU_PABRT_LEGACY
  73. select CPU_CACHE_V3 # although the core is v4t
  74. select CPU_CP15_MPU
  75. help
  76. A 32-bit RISC processor with 8KB cache or 4KB variants,
  77. write buffer and MPU(Protection Unit) built around
  78. an ARM7TDMI core.
  79. Say Y if you want support for the ARM740T processor.
  80. Otherwise, say N.
  81. # ARM9TDMI
  82. config CPU_ARM9TDMI
  83. bool "Support ARM9TDMI processor"
  84. depends on !MMU
  85. select CPU_32v4T
  86. select CPU_ABRT_NOMMU
  87. select CPU_PABRT_LEGACY
  88. select CPU_CACHE_V4
  89. help
  90. A 32-bit RISC microprocessor based on the ARM9 processor core
  91. which has no memory control unit and cache.
  92. Say Y if you want support for the ARM9TDMI processor.
  93. Otherwise, say N.
  94. # ARM920T
  95. config CPU_ARM920T
  96. bool "Support ARM920T processor" if ARCH_INTEGRATOR
  97. select CPU_32v4T
  98. select CPU_ABRT_EV4T
  99. select CPU_PABRT_LEGACY
  100. select CPU_CACHE_V4WT
  101. select CPU_CACHE_VIVT
  102. select CPU_CP15_MMU
  103. select CPU_COPY_V4WB if MMU
  104. select CPU_TLB_V4WBI if MMU
  105. help
  106. The ARM920T is licensed to be produced by numerous vendors,
  107. and is used in the Cirrus EP93xx and the Samsung S3C2410.
  108. Say Y if you want support for the ARM920T processor.
  109. Otherwise, say N.
  110. # ARM922T
  111. config CPU_ARM922T
  112. bool "Support ARM922T processor" if ARCH_INTEGRATOR
  113. select CPU_32v4T
  114. select CPU_ABRT_EV4T
  115. select CPU_PABRT_LEGACY
  116. select CPU_CACHE_V4WT
  117. select CPU_CACHE_VIVT
  118. select CPU_CP15_MMU
  119. select CPU_COPY_V4WB if MMU
  120. select CPU_TLB_V4WBI if MMU
  121. help
  122. The ARM922T is a version of the ARM920T, but with smaller
  123. instruction and data caches. It is used in Altera's
  124. Excalibur XA device family and Micrel's KS8695 Centaur.
  125. Say Y if you want support for the ARM922T processor.
  126. Otherwise, say N.
  127. # ARM925T
  128. config CPU_ARM925T
  129. bool "Support ARM925T processor" if ARCH_OMAP1
  130. select CPU_32v4T
  131. select CPU_ABRT_EV4T
  132. select CPU_PABRT_LEGACY
  133. select CPU_CACHE_V4WT
  134. select CPU_CACHE_VIVT
  135. select CPU_CP15_MMU
  136. select CPU_COPY_V4WB if MMU
  137. select CPU_TLB_V4WBI if MMU
  138. help
  139. The ARM925T is a mix between the ARM920T and ARM926T, but with
  140. different instruction and data caches. It is used in TI's OMAP
  141. device family.
  142. Say Y if you want support for the ARM925T processor.
  143. Otherwise, say N.
  144. # ARM926T
  145. config CPU_ARM926T
  146. bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB
  147. select CPU_32v5
  148. select CPU_ABRT_EV5TJ
  149. select CPU_PABRT_LEGACY
  150. select CPU_CACHE_VIVT
  151. select CPU_CP15_MMU
  152. select CPU_COPY_V4WB if MMU
  153. select CPU_TLB_V4WBI if MMU
  154. help
  155. This is a variant of the ARM920. It has slightly different
  156. instruction sequences for cache and TLB operations. Curiously,
  157. there is no documentation on it at the ARM corporate website.
  158. Say Y if you want support for the ARM926T processor.
  159. Otherwise, say N.
  160. # FA526
  161. config CPU_FA526
  162. bool
  163. select CPU_32v4
  164. select CPU_ABRT_EV4
  165. select CPU_PABRT_LEGACY
  166. select CPU_CACHE_VIVT
  167. select CPU_CP15_MMU
  168. select CPU_CACHE_FA
  169. select CPU_COPY_FA if MMU
  170. select CPU_TLB_FA if MMU
  171. help
  172. The FA526 is a version of the ARMv4 compatible processor with
  173. Branch Target Buffer, Unified TLB and cache line size 16.
  174. Say Y if you want support for the FA526 processor.
  175. Otherwise, say N.
  176. # ARM940T
  177. config CPU_ARM940T
  178. bool "Support ARM940T processor" if ARCH_INTEGRATOR
  179. depends on !MMU
  180. select CPU_32v4T
  181. select CPU_ABRT_NOMMU
  182. select CPU_PABRT_LEGACY
  183. select CPU_CACHE_VIVT
  184. select CPU_CP15_MPU
  185. help
  186. ARM940T is a member of the ARM9TDMI family of general-
  187. purpose microprocessors with MPU and separate 4KB
  188. instruction and 4KB data cases, each with a 4-word line
  189. length.
  190. Say Y if you want support for the ARM940T processor.
  191. Otherwise, say N.
  192. # ARM946E-S
  193. config CPU_ARM946E
  194. bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
  195. depends on !MMU
  196. select CPU_32v5
  197. select CPU_ABRT_NOMMU
  198. select CPU_PABRT_LEGACY
  199. select CPU_CACHE_VIVT
  200. select CPU_CP15_MPU
  201. help
  202. ARM946E-S is a member of the ARM9E-S family of high-
  203. performance, 32-bit system-on-chip processor solutions.
  204. The TCM and ARMv5TE 32-bit instruction set is supported.
  205. Say Y if you want support for the ARM946E-S processor.
  206. Otherwise, say N.
  207. # ARM1020 - needs validating
  208. config CPU_ARM1020
  209. bool "Support ARM1020T (rev 0) processor" if ARCH_INTEGRATOR
  210. select CPU_32v5
  211. select CPU_ABRT_EV4T
  212. select CPU_PABRT_LEGACY
  213. select CPU_CACHE_V4WT
  214. select CPU_CACHE_VIVT
  215. select CPU_CP15_MMU
  216. select CPU_COPY_V4WB if MMU
  217. select CPU_TLB_V4WBI if MMU
  218. help
  219. The ARM1020 is the 32K cached version of the ARM10 processor,
  220. with an addition of a floating-point unit.
  221. Say Y if you want support for the ARM1020 processor.
  222. Otherwise, say N.
  223. # ARM1020E - needs validating
  224. config CPU_ARM1020E
  225. bool "Support ARM1020E processor" if ARCH_INTEGRATOR
  226. select CPU_32v5
  227. select CPU_ABRT_EV4T
  228. select CPU_PABRT_LEGACY
  229. select CPU_CACHE_V4WT
  230. select CPU_CACHE_VIVT
  231. select CPU_CP15_MMU
  232. select CPU_COPY_V4WB if MMU
  233. select CPU_TLB_V4WBI if MMU
  234. depends on n
  235. # ARM1022E
  236. config CPU_ARM1022
  237. bool "Support ARM1022E processor" if ARCH_INTEGRATOR
  238. select CPU_32v5
  239. select CPU_ABRT_EV4T
  240. select CPU_PABRT_LEGACY
  241. select CPU_CACHE_VIVT
  242. select CPU_CP15_MMU
  243. select CPU_COPY_V4WB if MMU # can probably do better
  244. select CPU_TLB_V4WBI if MMU
  245. help
  246. The ARM1022E is an implementation of the ARMv5TE architecture
  247. based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
  248. embedded trace macrocell, and a floating-point unit.
  249. Say Y if you want support for the ARM1022E processor.
  250. Otherwise, say N.
  251. # ARM1026EJ-S
  252. config CPU_ARM1026
  253. bool "Support ARM1026EJ-S processor" if ARCH_INTEGRATOR
  254. select CPU_32v5
  255. select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
  256. select CPU_PABRT_LEGACY
  257. select CPU_CACHE_VIVT
  258. select CPU_CP15_MMU
  259. select CPU_COPY_V4WB if MMU # can probably do better
  260. select CPU_TLB_V4WBI if MMU
  261. help
  262. The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
  263. based upon the ARM10 integer core.
  264. Say Y if you want support for the ARM1026EJ-S processor.
  265. Otherwise, say N.
  266. # SA110
  267. config CPU_SA110
  268. bool "Support StrongARM(R) SA-110 processor" if ARCH_RPC
  269. select CPU_32v3 if ARCH_RPC
  270. select CPU_32v4 if !ARCH_RPC
  271. select CPU_ABRT_EV4
  272. select CPU_PABRT_LEGACY
  273. select CPU_CACHE_V4WB
  274. select CPU_CACHE_VIVT
  275. select CPU_CP15_MMU
  276. select CPU_COPY_V4WB if MMU
  277. select CPU_TLB_V4WB if MMU
  278. help
  279. The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
  280. is available at five speeds ranging from 100 MHz to 233 MHz.
  281. More information is available at
  282. <http://developer.intel.com/design/strong/sa110.htm>.
  283. Say Y if you want support for the SA-110 processor.
  284. Otherwise, say N.
  285. # SA1100
  286. config CPU_SA1100
  287. bool
  288. select CPU_32v4
  289. select CPU_ABRT_EV4
  290. select CPU_PABRT_LEGACY
  291. select CPU_CACHE_V4WB
  292. select CPU_CACHE_VIVT
  293. select CPU_CP15_MMU
  294. select CPU_TLB_V4WB if MMU
  295. # XScale
  296. config CPU_XSCALE
  297. bool
  298. select CPU_32v5
  299. select CPU_ABRT_EV5T
  300. select CPU_PABRT_LEGACY
  301. select CPU_CACHE_VIVT
  302. select CPU_CP15_MMU
  303. select CPU_TLB_V4WBI if MMU
  304. # XScale Core Version 3
  305. config CPU_XSC3
  306. bool
  307. select CPU_32v5
  308. select CPU_ABRT_EV5T
  309. select CPU_PABRT_LEGACY
  310. select CPU_CACHE_VIVT
  311. select CPU_CP15_MMU
  312. select CPU_TLB_V4WBI if MMU
  313. select IO_36
  314. # Marvell PJ1 (Mohawk)
  315. config CPU_MOHAWK
  316. bool
  317. select CPU_32v5
  318. select CPU_ABRT_EV5T
  319. select CPU_PABRT_LEGACY
  320. select CPU_CACHE_VIVT
  321. select CPU_CP15_MMU
  322. select CPU_TLB_V4WBI if MMU
  323. select CPU_COPY_V4WB if MMU
  324. # Feroceon
  325. config CPU_FEROCEON
  326. bool
  327. select CPU_32v5
  328. select CPU_ABRT_EV5T
  329. select CPU_PABRT_LEGACY
  330. select CPU_CACHE_VIVT
  331. select CPU_CP15_MMU
  332. select CPU_COPY_FEROCEON if MMU
  333. select CPU_TLB_FEROCEON if MMU
  334. config CPU_FEROCEON_OLD_ID
  335. bool "Accept early Feroceon cores with an ARM926 ID"
  336. depends on CPU_FEROCEON && !CPU_ARM926T
  337. default y
  338. help
  339. This enables the usage of some old Feroceon cores
  340. for which the CPU ID is equal to the ARM926 ID.
  341. Relevant for Feroceon-1850 and early Feroceon-2850.
  342. # ARMv6
  343. config CPU_V6
  344. bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_DOVE
  345. select CPU_32v6
  346. select CPU_ABRT_EV6
  347. select CPU_PABRT_V6
  348. select CPU_CACHE_V6
  349. select CPU_CACHE_VIPT
  350. select CPU_CP15_MMU
  351. select CPU_HAS_ASID if MMU
  352. select CPU_COPY_V6 if MMU
  353. select CPU_TLB_V6 if MMU
  354. # ARMv6k
  355. config CPU_32v6K
  356. bool "Support ARM V6K processor extensions" if !SMP
  357. depends on CPU_V6 || CPU_V7
  358. default y if SMP && !(ARCH_MX3 || ARCH_OMAP2)
  359. help
  360. Say Y here if your ARMv6 processor supports the 'K' extension.
  361. This enables the kernel to use some instructions not present
  362. on previous processors, and as such a kernel build with this
  363. enabled will not boot on processors with do not support these
  364. instructions.
  365. # ARMv7
  366. config CPU_V7
  367. bool "Support ARM V7 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX
  368. select CPU_32v6K if !ARCH_OMAP2
  369. select CPU_32v7
  370. select CPU_ABRT_EV7
  371. select CPU_PABRT_V7
  372. select CPU_CACHE_V7
  373. select CPU_CACHE_VIPT
  374. select CPU_CP15_MMU
  375. select CPU_HAS_ASID if MMU
  376. select CPU_COPY_V6 if MMU
  377. select CPU_TLB_V7 if MMU
  378. # Figure out what processor architecture version we should be using.
  379. # This defines the compiler instruction set which depends on the machine type.
  380. config CPU_32v3
  381. bool
  382. select TLS_REG_EMUL if SMP || !MMU
  383. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  384. config CPU_32v4
  385. bool
  386. select TLS_REG_EMUL if SMP || !MMU
  387. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  388. config CPU_32v4T
  389. bool
  390. select TLS_REG_EMUL if SMP || !MMU
  391. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  392. config CPU_32v5
  393. bool
  394. select TLS_REG_EMUL if SMP || !MMU
  395. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  396. config CPU_32v6
  397. bool
  398. select TLS_REG_EMUL if !CPU_32v6K && !MMU
  399. config CPU_32v7
  400. bool
  401. # The abort model
  402. config CPU_ABRT_NOMMU
  403. bool
  404. config CPU_ABRT_EV4
  405. bool
  406. config CPU_ABRT_EV4T
  407. bool
  408. config CPU_ABRT_LV4T
  409. bool
  410. config CPU_ABRT_EV5T
  411. bool
  412. config CPU_ABRT_EV5TJ
  413. bool
  414. config CPU_ABRT_EV6
  415. bool
  416. config CPU_ABRT_EV7
  417. bool
  418. config CPU_PABRT_LEGACY
  419. bool
  420. config CPU_PABRT_V6
  421. bool
  422. config CPU_PABRT_V7
  423. bool
  424. # The cache model
  425. config CPU_CACHE_V3
  426. bool
  427. config CPU_CACHE_V4
  428. bool
  429. config CPU_CACHE_V4WT
  430. bool
  431. config CPU_CACHE_V4WB
  432. bool
  433. config CPU_CACHE_V6
  434. bool
  435. config CPU_CACHE_V7
  436. bool
  437. config CPU_CACHE_VIVT
  438. bool
  439. config CPU_CACHE_VIPT
  440. bool
  441. config CPU_CACHE_FA
  442. bool
  443. if MMU
  444. # The copy-page model
  445. config CPU_COPY_V3
  446. bool
  447. config CPU_COPY_V4WT
  448. bool
  449. config CPU_COPY_V4WB
  450. bool
  451. config CPU_COPY_FEROCEON
  452. bool
  453. config CPU_COPY_FA
  454. bool
  455. config CPU_COPY_V6
  456. bool
  457. # This selects the TLB model
  458. config CPU_TLB_V3
  459. bool
  460. help
  461. ARM Architecture Version 3 TLB.
  462. config CPU_TLB_V4WT
  463. bool
  464. help
  465. ARM Architecture Version 4 TLB with writethrough cache.
  466. config CPU_TLB_V4WB
  467. bool
  468. help
  469. ARM Architecture Version 4 TLB with writeback cache.
  470. config CPU_TLB_V4WBI
  471. bool
  472. help
  473. ARM Architecture Version 4 TLB with writeback cache and invalidate
  474. instruction cache entry.
  475. config CPU_TLB_FEROCEON
  476. bool
  477. help
  478. Feroceon TLB (v4wbi with non-outer-cachable page table walks).
  479. config CPU_TLB_FA
  480. bool
  481. help
  482. Faraday ARM FA526 architecture, unified TLB with writeback cache
  483. and invalidate instruction cache entry. Branch target buffer is
  484. also supported.
  485. config CPU_TLB_V6
  486. bool
  487. config CPU_TLB_V7
  488. bool
  489. config VERIFY_PERMISSION_FAULT
  490. bool
  491. endif
  492. config CPU_HAS_ASID
  493. bool
  494. help
  495. This indicates whether the CPU has the ASID register; used to
  496. tag TLB and possibly cache entries.
  497. config CPU_CP15
  498. bool
  499. help
  500. Processor has the CP15 register.
  501. config CPU_CP15_MMU
  502. bool
  503. select CPU_CP15
  504. help
  505. Processor has the CP15 register, which has MMU related registers.
  506. config CPU_CP15_MPU
  507. bool
  508. select CPU_CP15
  509. help
  510. Processor has the CP15 register, which has MPU related registers.
  511. #
  512. # CPU supports 36-bit I/O
  513. #
  514. config IO_36
  515. bool
  516. comment "Processor Features"
  517. config ARM_THUMB
  518. bool "Support Thumb user binaries"
  519. depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_V6 || CPU_V7 || CPU_FEROCEON
  520. default y
  521. help
  522. Say Y if you want to include kernel support for running user space
  523. Thumb binaries.
  524. The Thumb instruction set is a compressed form of the standard ARM
  525. instruction set resulting in smaller binaries at the expense of
  526. slightly less efficient code.
  527. If you don't know what this all is, saying Y is a safe choice.
  528. config ARM_THUMBEE
  529. bool "Enable ThumbEE CPU extension"
  530. depends on CPU_V7
  531. help
  532. Say Y here if you have a CPU with the ThumbEE extension and code to
  533. make use of it. Say N for code that can run on CPUs without ThumbEE.
  534. config CPU_BIG_ENDIAN
  535. bool "Build big-endian kernel"
  536. depends on ARCH_SUPPORTS_BIG_ENDIAN
  537. help
  538. Say Y if you plan on running a kernel in big-endian mode.
  539. Note that your board must be properly built and your board
  540. port must properly enable any big-endian related features
  541. of your chipset/board/processor.
  542. config CPU_ENDIAN_BE8
  543. bool
  544. depends on CPU_BIG_ENDIAN
  545. default CPU_V6 || CPU_V7
  546. help
  547. Support for the BE-8 (big-endian) mode on ARMv6 and ARMv7 processors.
  548. config CPU_ENDIAN_BE32
  549. bool
  550. depends on CPU_BIG_ENDIAN
  551. default !CPU_ENDIAN_BE8
  552. help
  553. Support for the BE-32 (big-endian) mode on pre-ARMv6 processors.
  554. config CPU_HIGH_VECTOR
  555. depends on !MMU && CPU_CP15 && !CPU_ARM740T
  556. bool "Select the High exception vector"
  557. help
  558. Say Y here to select high exception vector(0xFFFF0000~).
  559. The exception vector can be vary depending on the platform
  560. design in nommu mode. If your platform needs to select
  561. high exception vector, say Y.
  562. Otherwise or if you are unsure, say N, and the low exception
  563. vector (0x00000000~) will be used.
  564. config CPU_ICACHE_DISABLE
  565. bool "Disable I-Cache (I-bit)"
  566. depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
  567. help
  568. Say Y here to disable the processor instruction cache. Unless
  569. you have a reason not to or are unsure, say N.
  570. config CPU_DCACHE_DISABLE
  571. bool "Disable D-Cache (C-bit)"
  572. depends on CPU_CP15
  573. help
  574. Say Y here to disable the processor data cache. Unless
  575. you have a reason not to or are unsure, say N.
  576. config CPU_DCACHE_SIZE
  577. hex
  578. depends on CPU_ARM740T || CPU_ARM946E
  579. default 0x00001000 if CPU_ARM740T
  580. default 0x00002000 # default size for ARM946E-S
  581. help
  582. Some cores are synthesizable to have various sized cache. For
  583. ARM946E-S case, it can vary from 0KB to 1MB.
  584. To support such cache operations, it is efficient to know the size
  585. before compile time.
  586. If your SoC is configured to have a different size, define the value
  587. here with proper conditions.
  588. config CPU_DCACHE_WRITETHROUGH
  589. bool "Force write through D-cache"
  590. depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FA526) && !CPU_DCACHE_DISABLE
  591. default y if CPU_ARM925T
  592. help
  593. Say Y here to use the data cache in writethrough mode. Unless you
  594. specifically require this or are unsure, say N.
  595. config CPU_CACHE_ROUND_ROBIN
  596. bool "Round robin I and D cache replacement algorithm"
  597. depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
  598. help
  599. Say Y here to use the predictable round-robin cache replacement
  600. policy. Unless you specifically require this or are unsure, say N.
  601. config CPU_BPREDICT_DISABLE
  602. bool "Disable branch prediction"
  603. depends on CPU_ARM1020 || CPU_V6 || CPU_MOHAWK || CPU_XSC3 || CPU_V7 || CPU_FA526
  604. help
  605. Say Y here to disable branch prediction. If unsure, say N.
  606. config TLS_REG_EMUL
  607. bool
  608. help
  609. An SMP system using a pre-ARMv6 processor (there are apparently
  610. a few prototypes like that in existence) and therefore access to
  611. that required register must be emulated.
  612. config NEEDS_SYSCALL_FOR_CMPXCHG
  613. bool
  614. help
  615. SMP on a pre-ARMv6 processor? Well OK then.
  616. Forget about fast user space cmpxchg support.
  617. It is just not possible.
  618. config DMA_CACHE_RWFO
  619. bool "Enable read/write for ownership DMA cache maintenance"
  620. depends on CPU_V6 && SMP
  621. default y
  622. help
  623. The Snoop Control Unit on ARM11MPCore does not detect the
  624. cache maintenance operations and the dma_{map,unmap}_area()
  625. functions may leave stale cache entries on other CPUs. By
  626. enabling this option, Read or Write For Ownership in the ARMv6
  627. DMA cache maintenance functions is performed. These LDR/STR
  628. instructions change the cache line state to shared or modified
  629. so that the cache operation has the desired effect.
  630. Note that the workaround is only valid on processors that do
  631. not perform speculative loads into the D-cache. For such
  632. processors, if cache maintenance operations are not broadcast
  633. in hardware, other workarounds are needed (e.g. cache
  634. maintenance broadcasting in software via FIQ).
  635. config OUTER_CACHE
  636. bool
  637. config OUTER_CACHE_SYNC
  638. bool
  639. help
  640. The outer cache has a outer_cache_fns.sync function pointer
  641. that can be used to drain the write buffer of the outer cache.
  642. config CACHE_FEROCEON_L2
  643. bool "Enable the Feroceon L2 cache controller"
  644. depends on ARCH_KIRKWOOD || ARCH_MV78XX0
  645. default y
  646. select OUTER_CACHE
  647. help
  648. This option enables the Feroceon L2 cache controller.
  649. config CACHE_FEROCEON_L2_WRITETHROUGH
  650. bool "Force Feroceon L2 cache write through"
  651. depends on CACHE_FEROCEON_L2
  652. help
  653. Say Y here to use the Feroceon L2 cache in writethrough mode.
  654. Unless you specifically require this, say N for writeback mode.
  655. config CACHE_L2X0
  656. bool "Enable the L2x0 outer cache controller"
  657. depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176 || \
  658. REALVIEW_EB_A9MP || ARCH_MX35 || ARCH_MX31 || MACH_REALVIEW_PBX || \
  659. ARCH_NOMADIK || ARCH_OMAP4 || ARCH_S5PV310 || ARCH_TEGRA || \
  660. ARCH_U8500 || ARCH_VEXPRESS_CA9X4
  661. default y
  662. select OUTER_CACHE
  663. select OUTER_CACHE_SYNC
  664. help
  665. This option enables the L2x0 PrimeCell.
  666. config CACHE_TAUROS2
  667. bool "Enable the Tauros2 L2 cache controller"
  668. depends on (ARCH_DOVE || ARCH_MMP)
  669. default y
  670. select OUTER_CACHE
  671. help
  672. This option enables the Tauros2 L2 cache controller (as
  673. found on PJ1/PJ4).
  674. config CACHE_XSC3L2
  675. bool "Enable the L2 cache on XScale3"
  676. depends on CPU_XSC3
  677. default y
  678. select OUTER_CACHE
  679. help
  680. This option enables the L2 cache on XScale3.
  681. config ARM_L1_CACHE_SHIFT
  682. int
  683. default 6 if ARM_L1_CACHE_SHIFT_6
  684. default 5
  685. config ARM_DMA_MEM_BUFFERABLE
  686. bool "Use non-cacheable memory for DMA" if CPU_V6 && !CPU_V7
  687. depends on !(MACH_REALVIEW_PB1176 || REALVIEW_EB_ARM11MP || \
  688. MACH_REALVIEW_PB11MP)
  689. default y if CPU_V6 || CPU_V7
  690. help
  691. Historically, the kernel has used strongly ordered mappings to
  692. provide DMA coherent memory. With the advent of ARMv7, mapping
  693. memory with differing types results in unpredictable behaviour,
  694. so on these CPUs, this option is forced on.
  695. Multiple mappings with differing attributes is also unpredictable
  696. on ARMv6 CPUs, but since they do not have aggressive speculative
  697. prefetch, no harm appears to occur.
  698. However, drivers may be missing the necessary barriers for ARMv6,
  699. and therefore turning this on may result in unpredictable driver
  700. behaviour. Therefore, we offer this as an option.
  701. You are recommended say 'Y' here and debug any affected drivers.
  702. config ARCH_HAS_BARRIERS
  703. bool
  704. help
  705. This option allows the use of custom mandatory barriers
  706. included via the mach/barriers.h file.