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>
This commit is contained in:
parent
e3ce3aa103
commit
29c20ba235
|
@ -1329,6 +1329,8 @@ void dmm_init(u32 base)
|
||||||
&hw_lisa_map_regs->dmm_lisa_map_1);
|
&hw_lisa_map_regs->dmm_lisa_map_1);
|
||||||
writel(lisa_map_regs->dmm_lisa_map_0,
|
writel(lisa_map_regs->dmm_lisa_map_0,
|
||||||
&hw_lisa_map_regs->dmm_lisa_map_0);
|
&hw_lisa_map_regs->dmm_lisa_map_0);
|
||||||
|
|
||||||
|
setbits_le32(MA_PRIORITY, MA_HIMEM_INTERLEAVE_UN_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -545,6 +545,9 @@
|
||||||
|
|
||||||
/* Memory Adapter */
|
/* Memory Adapter */
|
||||||
#define MA_BASE 0x482AF040
|
#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 */
|
/* DMM_LISA_MAP */
|
||||||
#define EMIF_SYS_ADDR_SHIFT 24
|
#define EMIF_SYS_ADDR_SHIFT 24
|
||||||
|
|
Loading…
Reference in New Issue