Kconfig 19 KB

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