summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/include/mach/regs-mem.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-01-03 18:58:50 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-01-03 18:58:50 +0900
commit8267e2e0fba74a944f9d0c9afd7779eb7272f5e7 (patch)
tree0d14a857da68101cbf69ee2a39e8bdac31a2a12c /arch/arm/mach-s5pv310/include/mach/regs-mem.h
parentfa353e9f409340cefc7650854065cbcea85c347d (diff)
parentb333fb16dcc50541df1930addea3eac03c838a4c (diff)
Merge branch 'dev/s5pv310-cpufreq' into next-s5pv310
Diffstat (limited to 'arch/arm/mach-s5pv310/include/mach/regs-mem.h')
-rw-r--r--arch/arm/mach-s5pv310/include/mach/regs-mem.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/regs-mem.h b/arch/arm/mach-s5pv310/include/mach/regs-mem.h
new file mode 100644
index 00000000000..834227140ea
--- /dev/null
+++ b/arch/arm/mach-s5pv310/include/mach/regs-mem.h
@@ -0,0 +1,23 @@
+/* linux/arch/arm/mach-s5pv310/include/mach/regs-mem.h
+ *
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com
+ *
+ * S5PV310 - SROMC and DMC register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_REGS_MEM_H
+#define __ASM_ARCH_REGS_MEM_H __FILE__
+
+#include <mach/map.h>
+
+#define S5P_DMC0_MEMCON_OFFSET 0x04
+
+#define S5P_DMC0_MEMTYPE_SHIFT 8
+#define S5P_DMC0_MEMTYPE_MASK 0xF
+
+#endif /* __ASM_ARCH_REGS_MEM_H */