aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/dpmc.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-26 14:11:24 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-23 01:18:28 -0400
commit584ecbaa258de953a9bc34ce4b978b0033e54dc4 (patch)
treebc93f7fe8eed1b85d763b12e563eb4d2d719f74d /arch/blackfin/include/asm/dpmc.h
parent429e257ea3bdd14e2401ee3f92d2846773294273 (diff)
Blackfin: dpmc: relocate hibernate helper macros
This defines only get used in the hibernate code, so remove them from the global dpmc header as no one else cares. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/dpmc.h')
-rw-r--r--arch/blackfin/include/asm/dpmc.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/blackfin/include/asm/dpmc.h b/arch/blackfin/include/asm/dpmc.h
index edf2a2ad5183..d1ba87793e9b 100644
--- a/arch/blackfin/include/asm/dpmc.h
+++ b/arch/blackfin/include/asm/dpmc.h
@@ -134,32 +134,6 @@ struct bfin_dpmc_platform_data {
134 unsigned short vr_settling_time; /* in us */ 134 unsigned short vr_settling_time; /* in us */
135}; 135};
136 136
137#else
138
139#define PM_PUSH(x) \
140 R0 = [P0 + (x - SRAM_BASE_ADDRESS)];\
141 [--SP] = R0;\
142
143#define PM_POP(x) \
144 R0 = [SP++];\
145 [P0 + (x - SRAM_BASE_ADDRESS)] = R0;\
146
147#define PM_SYS_PUSH(x) \
148 R0 = [P0 + (x - PLL_CTL)];\
149 [--SP] = R0;\
150
151#define PM_SYS_POP(x) \
152 R0 = [SP++];\
153 [P0 + (x - PLL_CTL)] = R0;\
154
155#define PM_SYS_PUSH16(x) \
156 R0 = w[P0 + (x - PLL_CTL)];\
157 [--SP] = R0;\
158
159#define PM_SYS_POP16(x) \
160 R0 = [SP++];\
161 w[P0 + (x - PLL_CTL)] = R0;\
162
163#endif 137#endif
164 138
165#endif /*_BLACKFIN_DPMC_H_*/ 139#endif /*_BLACKFIN_DPMC_H_*/