]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerdomain: add pwrdm_get_mem_bank_count()
authorPaul Walmsley <paul@pwsan.com>
Wed, 21 May 2008 00:41:33 +0000 (18:41 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 28 May 2008 20:40:27 +0000 (13:40 -0700)
commit226a3ec07d1a641414b092c97e230bcfaf47c0b5
treec8aeaa5e0e41afee520bf7e888e11e1934bdfa0b
parentace129d39b3107d330d4cf6934385d13521f2fec
powerdomain: add pwrdm_get_mem_bank_count()

Add a function pwrdm_get_mem_bank_count() to the powerdomain code to
return the number of memory banks contained inside an OMAP
powerdomain.  This will be used by the PM code to configure the memory
bank retention state.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/powerdomain.c
include/asm-arm/arch-omap/powerdomain.h