From 29c20ba235bbe2af113dfc8f09e04c3c8f9bdec0 Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Sat, 5 Mar 2016 17:32:31 +0530 Subject: 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 Reviewed-by: Tom Rini --- arch/arm/include/asm/emif.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/include/asm/emif.h') diff --git a/arch/arm/include/asm/emif.h b/arch/arm/include/asm/emif.h index b03cf5a8c4..31831302aa 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 -- cgit