diff options
| -rw-r--r-- | arch/arm/mach-omap2/sdrc.c | 16 | ||||
| -rw-r--r-- | arch/arm/plat-omap/include/plat/sdrc.h | 7 |
2 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-omap2/sdrc.c b/arch/arm/mach-omap2/sdrc.c index e3d345f46409..4282e6e967d6 100644 --- a/arch/arm/mach-omap2/sdrc.c +++ b/arch/arm/mach-omap2/sdrc.c | |||
| @@ -160,19 +160,3 @@ void __init omap2_sdrc_init(struct omap_sdrc_params *sdrc_cs0, | |||
| 160 | sdrc_write_reg(l, SDRC_POWER); | 160 | sdrc_write_reg(l, SDRC_POWER); |
| 161 | omap2_sms_save_context(); | 161 | omap2_sms_save_context(); |
| 162 | } | 162 | } |
| 163 | |||
| 164 | void omap2_sms_write_rot_control(u32 val, unsigned ctx) | ||
| 165 | { | ||
| 166 | sms_write_reg(val, SMS_ROT_CONTROL(ctx)); | ||
| 167 | } | ||
| 168 | |||
| 169 | void omap2_sms_write_rot_size(u32 val, unsigned ctx) | ||
| 170 | { | ||
| 171 | sms_write_reg(val, SMS_ROT_SIZE(ctx)); | ||
| 172 | } | ||
| 173 | |||
| 174 | void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx) | ||
| 175 | { | ||
| 176 | sms_write_reg(val, SMS_ROT_PHYSICAL_BA(ctx)); | ||
| 177 | } | ||
| 178 | |||
diff --git a/arch/arm/plat-omap/include/plat/sdrc.h b/arch/arm/plat-omap/include/plat/sdrc.h index 36d6a7666216..c68bab29cfc5 100644 --- a/arch/arm/plat-omap/include/plat/sdrc.h +++ b/arch/arm/plat-omap/include/plat/sdrc.h | |||
| @@ -94,9 +94,6 @@ | |||
| 94 | /* SMS register offsets - read/write with sms_{read,write}_reg() */ | 94 | /* SMS register offsets - read/write with sms_{read,write}_reg() */ |
| 95 | 95 | ||
| 96 | #define SMS_SYSCONFIG 0x010 | 96 | #define SMS_SYSCONFIG 0x010 |
| 97 | #define SMS_ROT_CONTROL(context) (0x180 + 0x10 * context) | ||
| 98 | #define SMS_ROT_SIZE(context) (0x184 + 0x10 * context) | ||
| 99 | #define SMS_ROT_PHYSICAL_BA(context) (0x188 + 0x10 * context) | ||
| 100 | /* REVISIT: fill in other SMS registers here */ | 97 | /* REVISIT: fill in other SMS registers here */ |
| 101 | 98 | ||
| 102 | 99 | ||
| @@ -137,10 +134,6 @@ int omap2_sdrc_get_params(unsigned long r, | |||
| 137 | void omap2_sms_save_context(void); | 134 | void omap2_sms_save_context(void); |
| 138 | void omap2_sms_restore_context(void); | 135 | void omap2_sms_restore_context(void); |
| 139 | 136 | ||
| 140 | void omap2_sms_write_rot_control(u32 val, unsigned ctx); | ||
| 141 | void omap2_sms_write_rot_size(u32 val, unsigned ctx); | ||
| 142 | void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx); | ||
| 143 | |||
| 144 | #ifdef CONFIG_ARCH_OMAP2 | 137 | #ifdef CONFIG_ARCH_OMAP2 |
| 145 | 138 | ||
| 146 | struct memory_timings { | 139 | struct memory_timings { |
