diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat/sdrc.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/sdrc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/sdrc.h b/arch/arm/plat-omap/include/plat/sdrc.h index f704030d2a70..7b76f50564ba 100644 --- a/arch/arm/plat-omap/include/plat/sdrc.h +++ b/arch/arm/plat-omap/include/plat/sdrc.h | |||
@@ -94,7 +94,10 @@ | |||
94 | 94 | ||
95 | /* SMS register offsets - read/write with sms_{read,write}_reg() */ | 95 | /* SMS register offsets - read/write with sms_{read,write}_reg() */ |
96 | 96 | ||
97 | #define SMS_SYSCONFIG 0x010 | 97 | #define SMS_SYSCONFIG 0x010 |
98 | #define SMS_ROT_CONTROL(context) (0x180 + 0x10 * context) | ||
99 | #define SMS_ROT_SIZE(context) (0x184 + 0x10 * context) | ||
100 | #define SMS_ROT_PHYSICAL_BA(context) (0x188 + 0x10 * context) | ||
98 | /* REVISIT: fill in other SMS registers here */ | 101 | /* REVISIT: fill in other SMS registers here */ |
99 | 102 | ||
100 | 103 | ||
@@ -129,6 +132,10 @@ int omap2_sdrc_get_params(unsigned long r, | |||
129 | void omap2_sms_save_context(void); | 132 | void omap2_sms_save_context(void); |
130 | void omap2_sms_restore_context(void); | 133 | void omap2_sms_restore_context(void); |
131 | 134 | ||
135 | void omap2_sms_write_rot_control(u32 val, unsigned ctx); | ||
136 | void omap2_sms_write_rot_size(u32 val, unsigned ctx); | ||
137 | void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx); | ||
138 | |||
132 | #ifdef CONFIG_ARCH_OMAP2 | 139 | #ifdef CONFIG_ARCH_OMAP2 |
133 | 140 | ||
134 | struct memory_timings { | 141 | struct memory_timings { |