Kconfig 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. comment "Processor Type"
  2. config CPU_32
  3. bool
  4. default y
  5. # Select CPU types depending on the architecture selected. This selects
  6. # which CPUs we support in the kernel image, and the compiler instruction
  7. # optimiser behaviour.
  8. # ARM610
  9. config CPU_ARM610
  10. bool "Support ARM610 processor"
  11. depends on ARCH_RPC
  12. select CPU_32v3
  13. select CPU_CACHE_V3
  14. select CPU_CACHE_VIVT
  15. select CPU_CP15_MMU
  16. select CPU_COPY_V3 if MMU
  17. select CPU_TLB_V3 if MMU
  18. help
  19. The ARM610 is the successor to the ARM3 processor
  20. and was produced by VLSI Technology Inc.
  21. Say Y if you want support for the ARM610 processor.
  22. Otherwise, say N.
  23. # ARM7TDMI
  24. config CPU_ARM7TDMI
  25. bool "Support ARM7TDMI processor"
  26. depends on !MMU
  27. select CPU_32v4T
  28. select CPU_ABRT_LV4T
  29. select CPU_CACHE_V4
  30. help
  31. A 32-bit RISC microprocessor based on the ARM7 processor core
  32. which has no memory control unit and cache.
  33. Say Y if you want support for the ARM7TDMI processor.
  34. Otherwise, say N.
  35. # ARM710
  36. config CPU_ARM710
  37. bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC
  38. default y if ARCH_CLPS7500
  39. select CPU_32v3
  40. select CPU_CACHE_V3
  41. select CPU_CACHE_VIVT
  42. select CPU_CP15_MMU
  43. select CPU_COPY_V3 if MMU
  44. select CPU_TLB_V3 if MMU
  45. help
  46. A 32-bit RISC microprocessor based on the ARM7 processor core
  47. designed by Advanced RISC Machines Ltd. The ARM710 is the
  48. successor to the ARM610 processor. It was released in
  49. July 1994 by VLSI Technology Inc.
  50. Say Y if you want support for the ARM710 processor.
  51. Otherwise, say N.
  52. # ARM720T
  53. config CPU_ARM720T
  54. bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR
  55. default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X
  56. select CPU_32v4T
  57. select CPU_ABRT_LV4T
  58. select CPU_CACHE_V4
  59. select CPU_CACHE_VIVT
  60. select CPU_CP15_MMU
  61. select CPU_COPY_V4WT if MMU
  62. select CPU_TLB_V4WT if MMU
  63. help
  64. A 32-bit RISC processor with 8kByte Cache, Write Buffer and
  65. MMU built around an ARM7TDMI core.
  66. Say Y if you want support for the ARM720T processor.
  67. Otherwise, say N.
  68. # ARM740T
  69. config CPU_ARM740T
  70. bool "Support ARM740T processor" if ARCH_INTEGRATOR
  71. depends on !MMU
  72. select CPU_32v4T
  73. select CPU_ABRT_LV4T
  74. select CPU_CACHE_V3 # although the core is v4t
  75. select CPU_CP15_MPU
  76. help
  77. A 32-bit RISC processor with 8KB cache or 4KB variants,
  78. write buffer and MPU(Protection Unit) built around
  79. an ARM7TDMI core.
  80. Say Y if you want support for the ARM740T processor.
  81. Otherwise, say N.
  82. # ARM9TDMI
  83. config CPU_ARM9TDMI
  84. bool "Support ARM9TDMI processor"
  85. depends on !MMU
  86. select CPU_32v4T
  87. select CPU_ABRT_NOMMU
  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"
  97. depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200
  98. default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200
  99. select CPU_32v4T
  100. select CPU_ABRT_EV4T
  101. select CPU_CACHE_V4WT
  102. select CPU_CACHE_VIVT
  103. select CPU_CP15_MMU
  104. select CPU_COPY_V4WB if MMU
  105. select CPU_TLB_V4WBI if MMU
  106. help
  107. The ARM920T is licensed to be produced by numerous vendors,
  108. and is used in the Maverick EP9312 and the Samsung S3C2410.
  109. More information on the Maverick EP9312 at
  110. <http://linuxdevices.com/products/PD2382866068.html>.
  111. Say Y if you want support for the ARM920T processor.
  112. Otherwise, say N.
  113. # ARM922T
  114. config CPU_ARM922T
  115. bool "Support ARM922T processor" if ARCH_INTEGRATOR
  116. depends on ARCH_LH7A40X || ARCH_INTEGRATOR || ARCH_KS8695
  117. default y if ARCH_LH7A40X || ARCH_KS8695
  118. select CPU_32v4T
  119. select CPU_ABRT_EV4T
  120. select CPU_CACHE_V4WT
  121. select CPU_CACHE_VIVT
  122. select CPU_CP15_MMU
  123. select CPU_COPY_V4WB if MMU
  124. select CPU_TLB_V4WBI if MMU
  125. help
  126. The ARM922T is a version of the ARM920T, but with smaller
  127. instruction and data caches. It is used in Altera's
  128. Excalibur XA device family and Micrel's KS8695 Centaur.
  129. Say Y if you want support for the ARM922T processor.
  130. Otherwise, say N.
  131. # ARM925T
  132. config CPU_ARM925T
  133. bool "Support ARM925T processor" if ARCH_OMAP1
  134. depends on ARCH_OMAP15XX
  135. default y if ARCH_OMAP15XX
  136. select CPU_32v4T
  137. select CPU_ABRT_EV4T
  138. select CPU_CACHE_V4WT
  139. select CPU_CACHE_VIVT
  140. select CPU_CP15_MMU
  141. select CPU_COPY_V4WB if MMU
  142. select CPU_TLB_V4WBI if MMU
  143. help
  144. The ARM925T is a mix between the ARM920T and ARM926T, but with
  145. different instruction and data caches. It is used in TI's OMAP
  146. device family.
  147. Say Y if you want support for the ARM925T processor.
  148. Otherwise, say N.
  149. # ARM926T
  150. config CPU_ARM926T
  151. bool "Support ARM926T processor"
  152. depends on ARCH_INTEGRATOR || ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || MACH_REALVIEW_EB || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_NS9XXX || ARCH_DAVINCI
  153. default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_NS9XXX || ARCH_DAVINCI
  154. select CPU_32v5
  155. select CPU_ABRT_EV5TJ
  156. select CPU_CACHE_VIVT
  157. select CPU_CP15_MMU
  158. select CPU_COPY_V4WB if MMU
  159. select CPU_TLB_V4WBI if MMU
  160. help
  161. This is a variant of the ARM920. It has slightly different
  162. instruction sequences for cache and TLB operations. Curiously,
  163. there is no documentation on it at the ARM corporate website.
  164. Say Y if you want support for the ARM926T processor.
  165. Otherwise, say N.
  166. # ARM940T
  167. config CPU_ARM940T
  168. bool "Support ARM940T processor" if ARCH_INTEGRATOR
  169. depends on !MMU
  170. select CPU_32v4T
  171. select CPU_ABRT_NOMMU
  172. select CPU_CACHE_VIVT
  173. select CPU_CP15_MPU
  174. help
  175. ARM940T is a member of the ARM9TDMI family of general-
  176. purpose microprocessors with MPU and separate 4KB
  177. instruction and 4KB data cases, each with a 4-word line
  178. length.
  179. Say Y if you want support for the ARM940T processor.
  180. Otherwise, say N.
  181. # ARM946E-S
  182. config CPU_ARM946E
  183. bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
  184. depends on !MMU
  185. select CPU_32v5
  186. select CPU_ABRT_NOMMU
  187. select CPU_CACHE_VIVT
  188. select CPU_CP15_MPU
  189. help
  190. ARM946E-S is a member of the ARM9E-S family of high-
  191. performance, 32-bit system-on-chip processor solutions.
  192. The TCM and ARMv5TE 32-bit instruction set is supported.
  193. Say Y if you want support for the ARM946E-S processor.
  194. Otherwise, say N.
  195. # ARM1020 - needs validating
  196. config CPU_ARM1020
  197. bool "Support ARM1020T (rev 0) processor"
  198. depends on ARCH_INTEGRATOR
  199. select CPU_32v5
  200. select CPU_ABRT_EV4T
  201. select CPU_CACHE_V4WT
  202. select CPU_CACHE_VIVT
  203. select CPU_CP15_MMU
  204. select CPU_COPY_V4WB if MMU
  205. select CPU_TLB_V4WBI if MMU
  206. help
  207. The ARM1020 is the 32K cached version of the ARM10 processor,
  208. with an addition of a floating-point unit.
  209. Say Y if you want support for the ARM1020 processor.
  210. Otherwise, say N.
  211. # ARM1020E - needs validating
  212. config CPU_ARM1020E
  213. bool "Support ARM1020E processor"
  214. depends on ARCH_INTEGRATOR
  215. select CPU_32v5
  216. select CPU_ABRT_EV4T
  217. select CPU_CACHE_V4WT
  218. select CPU_CACHE_VIVT
  219. select CPU_CP15_MMU
  220. select CPU_COPY_V4WB if MMU
  221. select CPU_TLB_V4WBI if MMU
  222. depends on n
  223. # ARM1022E
  224. config CPU_ARM1022
  225. bool "Support ARM1022E processor"
  226. depends on ARCH_INTEGRATOR
  227. select CPU_32v5
  228. select CPU_ABRT_EV4T
  229. select CPU_CACHE_VIVT
  230. select CPU_CP15_MMU
  231. select CPU_COPY_V4WB if MMU # can probably do better
  232. select CPU_TLB_V4WBI if MMU
  233. help
  234. The ARM1022E is an implementation of the ARMv5TE architecture
  235. based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
  236. embedded trace macrocell, and a floating-point unit.
  237. Say Y if you want support for the ARM1022E processor.
  238. Otherwise, say N.
  239. # ARM1026EJ-S
  240. config CPU_ARM1026
  241. bool "Support ARM1026EJ-S processor"
  242. depends on ARCH_INTEGRATOR
  243. select CPU_32v5
  244. select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
  245. select CPU_CACHE_VIVT
  246. select CPU_CP15_MMU
  247. select CPU_COPY_V4WB if MMU # can probably do better
  248. select CPU_TLB_V4WBI if MMU
  249. help
  250. The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
  251. based upon the ARM10 integer core.
  252. Say Y if you want support for the ARM1026EJ-S processor.
  253. Otherwise, say N.
  254. # SA110
  255. config CPU_SA110
  256. bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
  257. default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
  258. select CPU_32v3 if ARCH_RPC
  259. select CPU_32v4 if !ARCH_RPC
  260. select CPU_ABRT_EV4
  261. select CPU_CACHE_V4WB
  262. select CPU_CACHE_VIVT
  263. select CPU_CP15_MMU
  264. select CPU_COPY_V4WB if MMU
  265. select CPU_TLB_V4WB if MMU
  266. help
  267. The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
  268. is available at five speeds ranging from 100 MHz to 233 MHz.
  269. More information is available at
  270. <http://developer.intel.com/design/strong/sa110.htm>.
  271. Say Y if you want support for the SA-110 processor.
  272. Otherwise, say N.
  273. # SA1100
  274. config CPU_SA1100
  275. bool
  276. depends on ARCH_SA1100
  277. default y
  278. select CPU_32v4
  279. select CPU_ABRT_EV4
  280. select CPU_CACHE_V4WB
  281. select CPU_CACHE_VIVT
  282. select CPU_CP15_MMU
  283. select CPU_TLB_V4WB if MMU
  284. # XScale
  285. config CPU_XSCALE
  286. bool
  287. depends on ARCH_IOP32X || ARCH_IOP33X || PXA25x || PXA27x || ARCH_IXP4XX || ARCH_IXP2000
  288. default y
  289. select CPU_32v5
  290. select CPU_ABRT_EV5T
  291. select CPU_CACHE_VIVT
  292. select CPU_CP15_MMU
  293. select CPU_TLB_V4WBI if MMU
  294. # XScale Core Version 3
  295. config CPU_XSC3
  296. bool
  297. depends on ARCH_IXP23XX || ARCH_IOP13XX || PXA3xx
  298. default y
  299. select CPU_32v5
  300. select CPU_ABRT_EV5T
  301. select CPU_CACHE_VIVT
  302. select CPU_CP15_MMU
  303. select CPU_TLB_V4WBI if MMU
  304. select IO_36
  305. # Feroceon
  306. config CPU_FEROCEON
  307. bool
  308. depends on ARCH_ORION
  309. default y
  310. select CPU_32v5
  311. select CPU_ABRT_EV5T
  312. select CPU_CACHE_VIVT
  313. select CPU_CP15_MMU
  314. select CPU_COPY_V4WB if MMU
  315. select CPU_TLB_V4WBI if MMU
  316. config CPU_FEROCEON_OLD_ID
  317. bool "Accept early Feroceon cores with an ARM926 ID"
  318. depends on CPU_FEROCEON && !CPU_ARM926T
  319. default y
  320. help
  321. This enables the usage of some old Feroceon cores
  322. for which the CPU ID is equal to the ARM926 ID.
  323. Relevant for Feroceon-1850 and early Feroceon-2850.
  324. # ARMv6
  325. config CPU_V6
  326. bool "Support ARM V6 processor"
  327. depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3
  328. default y if ARCH_MX3
  329. select CPU_32v6
  330. select CPU_ABRT_EV6
  331. select CPU_CACHE_V6
  332. select CPU_CACHE_VIPT
  333. select CPU_CP15_MMU
  334. select CPU_HAS_ASID if MMU
  335. select CPU_COPY_V6 if MMU
  336. select CPU_TLB_V6 if MMU
  337. # ARMv6k
  338. config CPU_32v6K
  339. bool "Support ARM V6K processor extensions" if !SMP
  340. depends on CPU_V6
  341. default y if SMP && !ARCH_MX3
  342. help
  343. Say Y here if your ARMv6 processor supports the 'K' extension.
  344. This enables the kernel to use some instructions not present
  345. on previous processors, and as such a kernel build with this
  346. enabled will not boot on processors with do not support these
  347. instructions.
  348. # ARMv7
  349. config CPU_V7
  350. bool "Support ARM V7 processor"
  351. depends on ARCH_INTEGRATOR
  352. select CPU_32v6K
  353. select CPU_32v7
  354. select CPU_ABRT_EV7
  355. select CPU_CACHE_V7
  356. select CPU_CACHE_VIPT
  357. select CPU_CP15_MMU
  358. select CPU_HAS_ASID if MMU
  359. select CPU_COPY_V6 if MMU
  360. select CPU_TLB_V7 if MMU
  361. # Figure out what processor architecture version we should be using.
  362. # This defines the compiler instruction set which depends on the machine type.
  363. config CPU_32v3
  364. bool
  365. select TLS_REG_EMUL if SMP || !MMU
  366. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  367. config CPU_32v4
  368. bool
  369. select TLS_REG_EMUL if SMP || !MMU
  370. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  371. config CPU_32v4T
  372. bool
  373. select TLS_REG_EMUL if SMP || !MMU
  374. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  375. config CPU_32v5
  376. bool
  377. select TLS_REG_EMUL if SMP || !MMU
  378. select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
  379. config CPU_32v6
  380. bool
  381. select TLS_REG_EMUL if !CPU_32v6K && !MMU
  382. config CPU_32v7
  383. bool
  384. # The abort model
  385. config CPU_ABRT_NOMMU
  386. bool
  387. config CPU_ABRT_EV4
  388. bool
  389. config CPU_ABRT_EV4T
  390. bool
  391. config CPU_ABRT_LV4T
  392. bool
  393. config CPU_ABRT_EV5T
  394. bool
  395. config CPU_ABRT_EV5TJ
  396. bool
  397. config CPU_ABRT_EV6
  398. bool
  399. config CPU_ABRT_EV7
  400. bool
  401. # The cache model
  402. config CPU_CACHE_V3
  403. bool
  404. config CPU_CACHE_V4
  405. bool
  406. config CPU_CACHE_V4WT
  407. bool
  408. config CPU_CACHE_V4WB
  409. bool
  410. config CPU_CACHE_V6
  411. bool
  412. config CPU_CACHE_V7
  413. bool
  414. config CPU_CACHE_VIVT
  415. bool
  416. config CPU_CACHE_VIPT
  417. bool
  418. if MMU
  419. # The copy-page model
  420. config CPU_COPY_V3
  421. bool
  422. config CPU_COPY_V4WT
  423. bool
  424. config CPU_COPY_V4WB
  425. bool
  426. config CPU_COPY_V6
  427. bool
  428. # This selects the TLB model
  429. config CPU_TLB_V3
  430. bool
  431. help
  432. ARM Architecture Version 3 TLB.
  433. config CPU_TLB_V4WT
  434. bool
  435. help
  436. ARM Architecture Version 4 TLB with writethrough cache.
  437. config CPU_TLB_V4WB
  438. bool
  439. help
  440. ARM Architecture Version 4 TLB with writeback cache.
  441. config CPU_TLB_V4WBI
  442. bool
  443. help
  444. ARM Architecture Version 4 TLB with writeback cache and invalidate
  445. instruction cache entry.
  446. config CPU_TLB_V6
  447. bool
  448. config CPU_TLB_V7
  449. bool
  450. endif
  451. config CPU_HAS_ASID
  452. bool
  453. help
  454. This indicates whether the CPU has the ASID register; used to
  455. tag TLB and possibly cache entries.
  456. config CPU_CP15
  457. bool
  458. help
  459. Processor has the CP15 register.
  460. config CPU_CP15_MMU
  461. bool
  462. select CPU_CP15
  463. help
  464. Processor has the CP15 register, which has MMU related registers.
  465. config CPU_CP15_MPU
  466. bool
  467. select CPU_CP15
  468. help
  469. Processor has the CP15 register, which has MPU related registers.
  470. #
  471. # CPU supports 36-bit I/O
  472. #
  473. config IO_36
  474. bool
  475. comment "Processor Features"
  476. config ARM_THUMB
  477. bool "Support Thumb user binaries"
  478. 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_V6 || CPU_V7 || CPU_FEROCEON
  479. default y
  480. help
  481. Say Y if you want to include kernel support for running user space
  482. Thumb binaries.
  483. The Thumb instruction set is a compressed form of the standard ARM
  484. instruction set resulting in smaller binaries at the expense of
  485. slightly less efficient code.
  486. If you don't know what this all is, saying Y is a safe choice.
  487. config CPU_BIG_ENDIAN
  488. bool "Build big-endian kernel"
  489. depends on ARCH_SUPPORTS_BIG_ENDIAN
  490. help
  491. Say Y if you plan on running a kernel in big-endian mode.
  492. Note that your board must be properly built and your board
  493. port must properly enable any big-endian related features
  494. of your chipset/board/processor.
  495. config CPU_HIGH_VECTOR
  496. depends on !MMU && CPU_CP15 && !CPU_ARM740T
  497. bool "Select the High exception vector"
  498. default n
  499. help
  500. Say Y here to select high exception vector(0xFFFF0000~).
  501. The exception vector can be vary depending on the platform
  502. design in nommu mode. If your platform needs to select
  503. high exception vector, say Y.
  504. Otherwise or if you are unsure, say N, and the low exception
  505. vector (0x00000000~) will be used.
  506. config CPU_ICACHE_DISABLE
  507. bool "Disable I-Cache (I-bit)"
  508. depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
  509. help
  510. Say Y here to disable the processor instruction cache. Unless
  511. you have a reason not to or are unsure, say N.
  512. config CPU_DCACHE_DISABLE
  513. bool "Disable D-Cache (C-bit)"
  514. depends on CPU_CP15
  515. help
  516. Say Y here to disable the processor data cache. Unless
  517. you have a reason not to or are unsure, say N.
  518. config CPU_DCACHE_SIZE
  519. hex
  520. depends on CPU_ARM740T || CPU_ARM946E
  521. default 0x00001000 if CPU_ARM740T
  522. default 0x00002000 # default size for ARM946E-S
  523. help
  524. Some cores are synthesizable to have various sized cache. For
  525. ARM946E-S case, it can vary from 0KB to 1MB.
  526. To support such cache operations, it is efficient to know the size
  527. before compile time.
  528. If your SoC is configured to have a different size, define the value
  529. here with proper conditions.
  530. config CPU_DCACHE_WRITETHROUGH
  531. bool "Force write through D-cache"
  532. depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FEROCEON) && !CPU_DCACHE_DISABLE
  533. default y if CPU_ARM925T
  534. help
  535. Say Y here to use the data cache in writethrough mode. Unless you
  536. specifically require this or are unsure, say N.
  537. config CPU_CACHE_ROUND_ROBIN
  538. bool "Round robin I and D cache replacement algorithm"
  539. depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
  540. help
  541. Say Y here to use the predictable round-robin cache replacement
  542. policy. Unless you specifically require this or are unsure, say N.
  543. config CPU_BPREDICT_DISABLE
  544. bool "Disable branch prediction"
  545. depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7
  546. help
  547. Say Y here to disable branch prediction. If unsure, say N.
  548. config TLS_REG_EMUL
  549. bool
  550. help
  551. An SMP system using a pre-ARMv6 processor (there are apparently
  552. a few prototypes like that in existence) and therefore access to
  553. that required register must be emulated.
  554. config HAS_TLS_REG
  555. bool
  556. depends on !TLS_REG_EMUL
  557. default y if SMP || CPU_32v7
  558. help
  559. This selects support for the CP15 thread register.
  560. It is defined to be available on some ARMv6 processors (including
  561. all SMP capable ARMv6's) or later processors. User space may
  562. assume directly accessing that register and always obtain the
  563. expected value only on ARMv7 and above.
  564. config NEEDS_SYSCALL_FOR_CMPXCHG
  565. bool
  566. help
  567. SMP on a pre-ARMv6 processor? Well OK then.
  568. Forget about fast user space cmpxchg support.
  569. It is just not possible.
  570. config OUTER_CACHE
  571. bool
  572. default n
  573. config CACHE_L2X0
  574. bool
  575. select OUTER_CACHE