summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/include/mach/ddr2.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-07-06 06:52:57 +0400
committerNicolas Pitre <nico@fluxnic.net>2011-10-13 20:49:47 +0400
commit0020afb369859472a461ef4af6410732e929d402 (patch)
tree802a53dae4dbd9a611617c67f062722a5b4452da /arch/arm/mach-davinci/include/mach/ddr2.h
parentf4220feb35e39dc3963f27dcce48b4dea398a83b (diff)
downloadlinux-0020afb369859472a461ef4af6410732e929d402.tar.xz
ARM: mach-davinci: remove mach/memory.h
Move some DDR2 related defines into a private <mach/ddr2.h> beforehand. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/ddr2.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/ddr2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/ddr2.h b/arch/arm/mach-davinci/include/mach/ddr2.h
new file mode 100644
index 000000000000..c19e047d0e6a
--- /dev/null
+++ b/arch/arm/mach-davinci/include/mach/ddr2.h
@@ -0,0 +1,4 @@
+#define DDR2_SDRCR_OFFSET 0xc
+#define DDR2_SRPD_BIT (1 << 23)
+#define DDR2_MCLKSTOPEN_BIT (1 << 30)
+#define DDR2_LPMODEN_BIT (1 << 31)