From: Santosh Shilimkar Date: Fri, 24 Sep 2010 06:19:49 +0000 (+0100) Subject: ARM: 6408/1: omap: Map only available sram memory X-Git-Tag: v2.6.36-rc6~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e546f21b4b7af012d9f18edad6237339adfeb681;p=pandora-kernel.git 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 Acked-by: Tony Lindgren Signed-off-by: Russell King --- Reading git-diff-tree failed