From: Paul Walmsley Date: Fri, 18 Jan 2008 06:21:46 +0000 (-0700) Subject: sram: remove SCM read from plat-omap/sram.c X-Git-Tag: v2.6.24-omap1~57 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=184c63344f9cf1b0267ad3c9551c23e89b85c484;p=pandora-kernel.git sram: remove SCM read from plat-omap/sram.c This patch removes the System Control Module read from plat-omap/sram.c:is_sram_locked(). Instead, it uses the global system_reg variable, which is initialized immediately prior to the SRAM init code. This happens to fix the compile breakage on the current tree. In the long term, is_sram_locked() probably should be moved out of sram.c. Boot-tested on N800. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed