summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/emif.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-03-05 12:02:31 (GMT)
committerTom Rini <trini@konsulko.com>2016-03-14 23:18:47 (GMT)
commit29c20ba235bbe2af113dfc8f09e04c3c8f9bdec0 (patch)
tree28cbf275cd4f224f6134fd138f31811300b45ac4 /arch/arm/include/asm/emif.h
parente3ce3aa103c9e40415673df70ee62732cdb966c3 (diff)
downloadu-boot-29c20ba235bbe2af113dfc8f09e04c3c8f9bdec0.tar.xz
ARM: DRA7: emif: Enable interleaving for higher address space
Given that DRA7/OMAP5 SoCs can support more than 2GB of memory, enable interleaving for this higher memory to increase performance. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/emif.h')
-rw-r--r--arch/arm/include/asm/emif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/emif.h b/arch/arm/include/asm/emif.h
index b03cf5a..3183130 100644
--- a/arch/arm/include/asm/emif.h
+++ b/arch/arm/include/asm/emif.h
@@ -545,6 +545,9 @@
/* Memory Adapter */
#define MA_BASE 0x482AF040
+#define MA_PRIORITY 0x482A2000
+#define MA_HIMEM_INTERLEAVE_UN_SHIFT 8
+#define MA_HIMEM_INTERLEAVE_UN_MASK (1 << 8)
/* DMM_LISA_MAP */
#define EMIF_SYS_ADDR_SHIFT 24