aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/memory.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2009-01-28 14:27:31 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-08 12:50:38 -0500
commitf8de9b2c45c4506702da4bd3a5bc7630754077f9 (patch)
treef375f808bfdc0ef8c83671aca66f3150b08e44e5 /arch/arm/mach-omap2/memory.c
parentfed415e48f07799b278cd4353385fee1464d4aca (diff)
[ARM] OMAP2 SDRC: move mach-omap2/memory.h into mach/sdrc.h
Move the contents of the arch/arm/mach-omap2/memory.h file to the existing mach/sdrc.h file, and remove memory.h. Modify files which include memory.h to include asm/arch/sdrc.h instead. linux-omap source commit is e7ae2d89921372fc4b9712a32cc401d645597807. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/memory.c')
-rw-r--r--arch/arm/mach-omap2/memory.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/memory.c b/arch/arm/mach-omap2/memory.c
index 882c70224292..93cb25715bac 100644
--- a/arch/arm/mach-omap2/memory.c
+++ b/arch/arm/mach-omap2/memory.c
@@ -29,9 +29,16 @@
29 29
30#include "prm.h" 30#include "prm.h"
31 31
32#include "memory.h" 32#include <mach/sdrc.h>
33#include "sdrc.h" 33#include "sdrc.h"
34 34
35/* Memory timing, DLL mode flags */
36#define M_DDR 1
37#define M_LOCK_CTRL (1 << 2)
38#define M_UNLOCK 0
39#define M_LOCK 1
40
41
35void __iomem *omap2_sdrc_base; 42void __iomem *omap2_sdrc_base;
36void __iomem *omap2_sms_base; 43void __iomem *omap2_sms_base;
37 44