arch/arm/mmu: Update MMU implementation for ARMv7 architecture.

- Also updates the interface so platform specific code can setup
  MMU as needed for each platform with appropriate memory types
  and cache properties.

Change-Id: Iee9daddf5070f21d278339417e4ff71a5b7ca8d8
diff --git a/platform/msm7x27a/rules.mk b/platform/msm7x27a/rules.mk
index fce7da2..e119d5b 100644
--- a/platform/msm7x27a/rules.mk
+++ b/platform/msm7x27a/rules.mk
@@ -1,9 +1,11 @@
 LOCAL_DIR := $(GET_LOCAL_DIR)
 
-ARCH := arm
+ARCH    := arm
 # Cann't use cortex-a5 as its not supported by gcc 4.4.0
 ARM_CPU := cortex-a8
-CPU := generic
+CPU     := generic
+
+DEFINES += ARM_CPU_CORE_A5
 
 MMC_SLOT := 3
 DEFINES += WITH_CPU_EARLY_INIT=1 MMC_SLOT=$(MMC_SLOT)