Kconfig 19 KB

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