[Patch 2/4] Makefile and Kconfig changes for V7 Cache updates

Syed Mohammed, Khasim
2007-06-06T00:26:41Z

Makefile and Kconfig changes for V7 Cache update.

Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>

Files:
arch/arm/mm/Kconfig | 7 +++++--
val_3430_GIT/arch/arm/mm/Makefile | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)

=======================================================================
--- linux-omap/arch/arm/mm/Makefile 2007-05-16 14:32:40.000000000 -0500
--- linux-omap/arch/arm/mm/Kconfig 2007-05-25 13:27:03.000000000 -0500
+++ val_3430_GIT/arch/arm/mm/Kconfig 2007-06-05 16:06:28.000000000 -0500
@@ -370,7 +370,7 @@ config CPU_32v6K
# ARMv7
config CPU_V7
bool "Support ARM V7 processor"
- depends on ARCH_INTEGRATOR
+ depends on ARCH_INTEGRATOR || ARCH_OMAP3
select CPU_32v6K
select CPU_32v7
select CPU_ABRT_EV7
@@ -379,7 +379,7 @@ config CPU_V7
select CPU_CP15_MMU
select CPU_HAS_ASID
select CPU_COPY_V6 if MMU
- select CPU_TLB_V6 if MMU
+ select CPU_TLB_V7 if MMU

# Figure out what processor architecture version we should be using.
# This defines the compiler instruction set which depends on the machine type.
@@ -498,6 +498,9 @@ config CPU_TLB_V4WBI
config CPU_TLB_V6
bool

+config CPU_TLB_V7
+ bool
+
endif

config CPU_HAS_ASID

+++ val_3430_GIT/arch/arm/mm/Makefile 2007-06-05 15:55:22.000000000 -0500
@@ -46,6 +46,7 @@ obj-$(CONFIG_CPU_TLB_V4WT) += tlb-v4.o
obj-$(CONFIG_CPU_TLB_V4WB) += tlb-v4wb.o
obj-$(CONFIG_CPU_TLB_V4WBI) += tlb-v4wbi.o
obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o
+obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o

obj-$(CONFIG_CPU_ARM610) += proc-arm6_7.o
obj-$(CONFIG_CPU_ARM710) += proc-arm6_7.o