diff options
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r-- | arch/arm/mm/Kconfig | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 15f0284010ca..e7904bc92c73 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -351,6 +351,7 @@ config CPU_V6 | |||
351 | select CPU_CACHE_V6 | 351 | select CPU_CACHE_V6 |
352 | select CPU_CACHE_VIPT | 352 | select CPU_CACHE_VIPT |
353 | select CPU_CP15_MMU | 353 | select CPU_CP15_MMU |
354 | select CPU_HAS_ASID | ||
354 | select CPU_COPY_V6 if MMU | 355 | select CPU_COPY_V6 if MMU |
355 | select CPU_TLB_V6 if MMU | 356 | select CPU_TLB_V6 if MMU |
356 | 357 | ||
@@ -376,8 +377,9 @@ config CPU_V7 | |||
376 | select CPU_CACHE_V7 | 377 | select CPU_CACHE_V7 |
377 | select CPU_CACHE_VIPT | 378 | select CPU_CACHE_VIPT |
378 | select CPU_CP15_MMU | 379 | select CPU_CP15_MMU |
380 | select CPU_HAS_ASID | ||
379 | select CPU_COPY_V6 if MMU | 381 | select CPU_COPY_V6 if MMU |
380 | select CPU_TLB_V6 if MMU | 382 | select CPU_TLB_V7 if MMU |
381 | 383 | ||
382 | # Figure out what processor architecture version we should be using. | 384 | # Figure out what processor architecture version we should be using. |
383 | # This defines the compiler instruction set which depends on the machine type. | 385 | # This defines the compiler instruction set which depends on the machine type. |
@@ -496,8 +498,17 @@ config CPU_TLB_V4WBI | |||
496 | config CPU_TLB_V6 | 498 | config CPU_TLB_V6 |
497 | bool | 499 | bool |
498 | 500 | ||
501 | config CPU_TLB_V7 | ||
502 | bool | ||
503 | |||
499 | endif | 504 | endif |
500 | 505 | ||
506 | config CPU_HAS_ASID | ||
507 | bool | ||
508 | help | ||
509 | This indicates whether the CPU has the ASID register; used to | ||
510 | tag TLB and possibly cache entries. | ||
511 | |||
501 | config CPU_CP15 | 512 | config CPU_CP15 |
502 | bool | 513 | bool |
503 | help | 514 | help |