aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm644x.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2010-09-24 07:19:49 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-09-25 15:58:40 +0100
commite546f21b4b7af012d9f18edad6237339adfeb681 (patch)
tree8c425960cc8e2fce8f35a294c00f2c97852696a7 /arch/arm/mach-davinci/dm644x.c
parentARM: 6407/1: mmu: Setup MT_MEMORY and MT_MEMORY_NONCACHED L1 entries (diff)
downloadlinux-dev-e546f21b4b7af012d9f18edad6237339adfeb681.tar.xz
linux-dev-e546f21b4b7af012d9f18edad6237339adfeb681.zip
ARM: 6408/1: omap: Map only available sram memory
Currently we map 1 MB section while setting up SRAM on OMAPs Regardless of the actual memory. The physical OCM RAM available on OMAP SOCs is in order of KBs. This patch maps only available sram and cleans up some un-necessary cpu_is_xxx checks. Mapping un-available or non-accessible(secure) memory on the newer ARM processor is dangerous. Because ARM CPUs can now speculatively prefetch, we should avoid mapping any no-existing or secure memory. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-davinci/dm644x.c')
0 files changed, 0 insertions, 0 deletions