Kconfig 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  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
  358. default y if SMP && !ARCH_MX3
  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
  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. endif
  490. config CPU_HAS_ASID
  491. bool
  492. help
  493. This indicates whether the CPU has the ASID register; used to
  494. tag TLB and possibly cache entries.
  495. config CPU_CP15
  496. bool
  497. help
  498. Processor has the CP15 register.
  499. config CPU_CP15_MMU
  500. bool
  501. select CPU_CP15
  502. help
  503. Processor has the CP15 register, which has MMU related registers.
  504. config CPU_CP15_MPU
  505. bool
  506. select CPU_CP15
  507. help
  508. Processor has the CP15 register, which has MPU related registers.
  509. #
  510. # CPU supports 36-bit I/O
  511. #
  512. config IO_36
  513. bool
  514. comment "Processor Features"
  515. config ARM_THUMB
  516. bool "Support Thumb user binaries"
  517. 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
  518. default y
  519. help
  520. Say Y if you want to include kernel support for running user space
  521. Thumb binaries.
  522. The Thumb instruction set is a compressed form of the standard ARM
  523. instruction set resulting in smaller binaries at the expense of
  524. slightly less efficient code.
  525. If you don't know what this all is, saying Y is a safe choice.
  526. config ARM_THUMBEE
  527. bool "Enable ThumbEE CPU extension"
  528. depends on CPU_V7
  529. help
  530. Say Y here if you have a CPU with the ThumbEE extension and code to
  531. make use of it. Say N for code that can run on CPUs without ThumbEE.
  532. config CPU_BIG_ENDIAN
  533. bool "Build big-endian kernel"
  534. depends on ARCH_SUPPORTS_BIG_ENDIAN
  535. help
  536. Say Y if you plan on running a kernel in big-endian mode.
  537. Note that your board must be properly built and your board
  538. port must properly enable any big-endian related features
  539. of your chipset/board/processor.
  540. config CPU_ENDIAN_BE8
  541. bool
  542. depends on CPU_BIG_ENDIAN
  543. default CPU_V6 || CPU_V7
  544. help
  545. Support for the BE-8 (big-endian) mode on ARMv6 and ARMv7 processors.
  546. config CPU_ENDIAN_BE32
  547. bool
  548. depends on CPU_BIG_ENDIAN
  549. default !CPU_ENDIAN_BE8
  550. help
  551. Support for the BE-32 (big-endian) mode on pre-ARMv6 processors.
  552. config CPU_HIGH_VECTOR
  553. depends on !MMU && CPU_CP15 && !CPU_ARM740T
  554. bool "Select the High exception vector"
  555. help
  556. Say Y here to select high exception vector(0xFFFF0000~).
  557. The exception vector can be vary depending on the platform
  558. design in nommu mode. If your platform needs to select
  559. high exception vector, say Y.
  560. Otherwise or if you are unsure, say N, and the low exception
  561. vector (0x00000000~) will be used.
  562. config CPU_ICACHE_DISABLE
  563. bool "Disable I-Cache (I-bit)"
  564. depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
  565. help
  566. Say Y here to disable the processor instruction cache. Unless
  567. you have a reason not to or are unsure, say N.
  568. config CPU_DCACHE_DISABLE
  569. bool "Disable D-Cache (C-bit)"
  570. depends on CPU_CP15
  571. help
  572. Say Y here to disable the processor data cache. Unless
  573. you have a reason not to or are unsure, say N.
  574. config CPU_DCACHE_SIZE
  575. hex
  576. depends on CPU_ARM740T || CPU_ARM946E
  577. default 0x00001000 if CPU_ARM740T
  578. default 0x00002000 # default size for ARM946E-S
  579. help
  580. Some cores are synthesizable to have various sized cache. For
  581. ARM946E-S case, it can vary from 0KB to 1MB.
  582. To support such cache operations, it is efficient to know the size
  583. before compile time.
  584. If your SoC is configured to have a different size, define the value
  585. here with proper conditions.
  586. config CPU_DCACHE_WRITETHROUGH
  587. bool "Force write through D-cache"
  588. depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FA526) && !CPU_DCACHE_DISABLE
  589. default y if CPU_ARM925T
  590. help
  591. Say Y here to use the data cache in writethrough mode. Unless you
  592. specifically require this or are unsure, say N.
  593. config CPU_CACHE_ROUND_ROBIN
  594. bool "Round robin I and D cache replacement algorithm"
  595. depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
  596. help
  597. Say Y here to use the predictable round-robin cache replacement
  598. policy. Unless you specifically require this or are unsure, say N.
  599. config CPU_BPREDICT_DISABLE
  600. bool "Disable branch prediction"
  601. depends on CPU_ARM1020 || CPU_V6 || CPU_MOHAWK || CPU_XSC3 || CPU_V7 || CPU_FA526
  602. help
  603. Say Y here to disable branch prediction. If unsure, say N.
  604. config TLS_REG_EMUL
  605. bool
  606. help
  607. An SMP system using a pre-ARMv6 processor (there are apparently
  608. a few prototypes like that in existence) and therefore access to
  609. that required register must be emulated.
  610. config HAS_TLS_REG
  611. bool
  612. depends on !TLS_REG_EMUL
  613. default y if SMP || CPU_32v7
  614. help
  615. This selects support for the CP15 thread register.
  616. It is defined to be available on some ARMv6 processors (including
  617. all SMP capable ARMv6's) or later processors. User space may
  618. assume directly accessing that register and always obtain the
  619. expected value only on ARMv7 and above.
  620. config NEEDS_SYSCALL_FOR_CMPXCHG
  621. bool
  622. help
  623. SMP on a pre-ARMv6 processor? Well OK then.
  624. Forget about fast user space cmpxchg support.
  625. It is just not possible.
  626. config OUTER_CACHE
  627. bool
  628. config CACHE_FEROCEON_L2
  629. bool "Enable the Feroceon L2 cache controller"
  630. depends on ARCH_KIRKWOOD || ARCH_MV78XX0
  631. default y
  632. select OUTER_CACHE
  633. help
  634. This option enables the Feroceon L2 cache controller.
  635. config CACHE_FEROCEON_L2_WRITETHROUGH
  636. bool "Force Feroceon L2 cache write through"
  637. depends on CACHE_FEROCEON_L2
  638. help
  639. Say Y here to use the Feroceon L2 cache in writethrough mode.
  640. Unless you specifically require this, say N for writeback mode.
  641. config CACHE_L2X0
  642. bool "Enable the L2x0 outer cache controller"
  643. depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176 || \
  644. REALVIEW_EB_A9MP || ARCH_MX35 || ARCH_MX31 || MACH_REALVIEW_PBX || ARCH_NOMADIK
  645. default y
  646. select OUTER_CACHE
  647. help
  648. This option enables the L2x0 PrimeCell.
  649. config CACHE_TAUROS2
  650. bool "Enable the Tauros2 L2 cache controller"
  651. depends on ARCH_DOVE
  652. default y
  653. select OUTER_CACHE
  654. help
  655. This option enables the Tauros2 L2 cache controller (as
  656. found on PJ1/PJ4).
  657. config CACHE_XSC3L2
  658. bool "Enable the L2 cache on XScale3"
  659. depends on CPU_XSC3
  660. default y
  661. select OUTER_CACHE
  662. help
  663. This option enables the L2 cache on XScale3.
  664. config ARM_L1_CACHE_SHIFT
  665. int
  666. default 6 if ARCH_OMAP3 || ARCH_S5PC1XX
  667. default 5