davinci: move PSC register definitions from psc.c to psc.h
authorSekhar Nori <nsekhar@ti.com>
Mon, 16 Nov 2009 11:51:35 +0000 (17:21 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 4 Feb 2010 21:29:36 +0000 (13:29 -0800)
commitc94fa15ba2d736af786ac1e56686d41987b1aba0
treefa3143cd1ea6029180ee3a69359c05aea9481558
parent7ec4b24326ec9b0467ab23b0417ec6b63e8e5524
davinci: move PSC register definitions from psc.c to psc.h

The motivation behind the change is to use the same
definitions in the assembly code responsible for
suspending the SoC, a part of which is to clock gate
the DDR2 clock.

Note that the assembly code cannot invoke the C function
meant for this. The main reason being that stack in DDR2
cannot be accessed while DDR2 clock is being clock gated.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/include/mach/psc.h
arch/arm/mach-davinci/psc.c