msm: ocmem: remove check for interleaving
Non interleaved memory is now supported by ocmem. Remove the check
that ensured that we were dealing with interleaved memory
Change-Id: I1e13009cdd297fabfb1bdec759ccf21a34face9f
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
diff --git a/arch/arm/mach-msm/ocmem_core.c b/arch/arm/mach-msm/ocmem_core.c
index aa02cf9..34a402e 100644
--- a/arch/arm/mach-msm/ocmem_core.c
+++ b/arch/arm/mach-msm/ocmem_core.c
@@ -979,14 +979,9 @@
interleaved = (hw_ver & INTERLEAVING_MASK) >> INTERLEAVING_SHIFT;
- if (interleaved == false) {
- pr_err("Interleaving is disabled\n");
- goto hw_not_supported;
- }
-
num_regions = pdata->nr_regions;
- pdata->interleaved = true;
+ pdata->interleaved = interleaved;
pdata->nr_macros = num_macros;
pdata->nr_ports = num_ports;
macro_size = OCMEM_V1_MACRO_SZ * 2;