diff options
author | Sekhar Nori <nsekhar@ti.com> | 2009-11-16 06:51:34 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-04 16:29:35 -0500 |
commit | 7ec4b24326ec9b0467ab23b0417ec6b63e8e5524 (patch) | |
tree | c724879a4842d625a7d1432e90d5f03dd192cf32 /arch/arm/mach-davinci/include | |
parent | 9a219a9ecf49ab156df4c18267ade4d468d9930e (diff) |
davinci: move DDR2 controller defines to memory.h
Move defintions of DDR2 controller registers to memory.h
from cpuidle.c. The motivation behind the change is to be
able to use these defintions in assembly code that puts
DDR2 in self-refresh and enables the SoC to enter suspend
state.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/memory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/memory.h b/arch/arm/mach-davinci/include/mach/memory.h index 80309aed534a..7aeaf46cade0 100644 --- a/arch/arm/mach-davinci/include/mach/memory.h +++ b/arch/arm/mach-davinci/include/mach/memory.h | |||
@@ -31,6 +31,10 @@ | |||
31 | #define PHYS_OFFSET DAVINCI_DDR_BASE | 31 | #define PHYS_OFFSET DAVINCI_DDR_BASE |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #define DDR2_SDRCR_OFFSET 0xc | ||
35 | #define DDR2_SRPD_BIT BIT(23) | ||
36 | #define DDR2_LPMODEN_BIT BIT(31) | ||
37 | |||
34 | /* | 38 | /* |
35 | * Increase size of DMA-consistent memory region | 39 | * Increase size of DMA-consistent memory region |
36 | */ | 40 | */ |