sram: remove SCM read from plat-omap/sram.c
authorPaul Walmsley <paul@pwsan.com>
Fri, 18 Jan 2008 06:21:46 +0000 (23:21 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Jan 2008 18:21:50 +0000 (10:21 -0800)
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 <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found