]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit184c63344f9cf1b0267ad3c9551c23e89b85c484
tree4871672fc8d57ba403ee20c9aba77394fdf313a3
parent37c19d25fe21fb00d8ba72e8e8e3d8a2c1a4b6d4
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 <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/sram.c