summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/da850.c
diff options
context:
space:
mode:
authorBen Gardiner <bengardiner@nanometrics.ca>2012-10-05 13:04:41 -0400
committerSekhar Nori <nsekhar@ti.com>2012-10-27 16:28:33 +0530
commit626863a3f32f0baaf55a1d18b8d4fbb937700dda (patch)
tree97e76d5e443ec8b0d3357f3819d7139bb3e0d8a7 /arch/arm/mach-davinci/da850.c
parent2eb2478d471e45e1d0c8bb3defbf82bf7204e13d (diff)
downloadblackbird-op-linux-626863a3f32f0baaf55a1d18b8d4fbb937700dda.tar.gz
blackbird-op-linux-626863a3f32f0baaf55a1d18b8d4fbb937700dda.zip
ARM: davinci: sram: switch from iotable to ioremapped regions
The current davinci init sets up SRAM in iotables. There has been an observed failure to boot a da850 with 128K specified in the iotable. Make the davinci sram allocator do an ioremap of the region specified by the entries in davinci_soc_info before registering with gen_pool_add_virt(). Remove all iotable SRAM mappings and SRAM_VIRT. Regression tested suspend/resume on AM180x EVM. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by: Matt Porter <mporter@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
-rw-r--r--arch/arm/mach-davinci/da850.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index b90c172d5541..ffc84f5e1aa2 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -781,12 +781,6 @@ static struct map_desc da850_io_desc[] = {
.length = DA8XX_CP_INTC_SIZE,
.type = MT_DEVICE
},
- {
- .virtual = SRAM_VIRT,
- .pfn = __phys_to_pfn(DA8XX_ARM_RAM_BASE),
- .length = SZ_8K,
- .type = MT_DEVICE
- },
};
static u32 da850_psc_bases[] = { DA8XX_PSC0_BASE, DA8XX_PSC1_BASE };
OpenPOWER on IntegriCloud