OMAP2+: powerdomain: fix bank power state bitfields
authorPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 02:28:15 +0000 (19:28 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 02:28:15 +0000 (19:28 -0700)
commit4cb49fec12e219ec174e04157f71c00f63eb4ce4
tree991a0cb1e304d6c128f3af401786865347569990
parentcad7a34b3afcd02e8e6bef5007e4b12f6cc8ec24
OMAP2+: powerdomain: fix bank power state bitfields

The bank power state bitfields in the powerdomain data are
encoded incorrectly.  These fields are intended to be bitfields,
representing a set of power states that the memory banks support.
However, when only one power state was supported by a given bank,
the field was incorrectly set to the bit shift -- not the mask.
While here, update some file copyrights.

The OMAP4 autogeneration scripts have been updated accordingly.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c
arch/arm/mach-omap2/powerdomains2xxx_data.c
arch/arm/mach-omap2/powerdomains3xxx_data.c
arch/arm/mach-omap2/powerdomains44xx_data.c