diff options
author | Dan Williams <dan.j.williams@intel.com> | 2007-02-13 11:13:04 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-17 10:04:53 -0500 |
commit | 4434c5c7fd61c6713de882a2272b66f32fe7cac3 (patch) | |
tree | f20c9c4eba18dd915f07185cee5ededf33e28c02 /include/asm-arm/hardware | |
parent | f80dff9da07d81da16e3b842118d47b9febf9c01 (diff) |
[ARM] 4186/1: iop: remove cp6_enable/disable routines
This functionality is replaced by cp6_trap
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/hardware')
-rw-r--r-- | include/asm-arm/hardware/iop3xx.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/asm-arm/hardware/iop3xx.h b/include/asm-arm/hardware/iop3xx.h index c91b546e20ef..47fcbf6f52d3 100644 --- a/include/asm-arm/hardware/iop3xx.h +++ b/include/asm-arm/hardware/iop3xx.h | |||
@@ -283,33 +283,6 @@ void iop_init_cp6_handler(void); | |||
283 | extern struct platform_device iop3xx_i2c0_device; | 283 | extern struct platform_device iop3xx_i2c0_device; |
284 | extern struct platform_device iop3xx_i2c1_device; | 284 | extern struct platform_device iop3xx_i2c1_device; |
285 | 285 | ||
286 | extern inline void iop3xx_cp6_enable(void) | ||
287 | { | ||
288 | u32 temp; | ||
289 | |||
290 | asm volatile ( | ||
291 | "mrc p15, 0, %0, c15, c1, 0\n\t" | ||
292 | "orr %0, %0, #(1 << 6)\n\t" | ||
293 | "mcr p15, 0, %0, c15, c1, 0\n\t" | ||
294 | "mrc p15, 0, %0, c15, c1, 0\n\t" | ||
295 | "mov %0, %0\n\t" | ||
296 | "sub pc, pc, #4\n\t" | ||
297 | : "=r" (temp) ); | ||
298 | } | ||
299 | |||
300 | extern inline void iop3xx_cp6_disable(void) | ||
301 | { | ||
302 | u32 temp; | ||
303 | |||
304 | asm volatile ( | ||
305 | "mrc p15, 0, %0, c15, c1, 0\n\t" | ||
306 | "bic %0, %0, #(1 << 6)\n\t" | ||
307 | "mcr p15, 0, %0, c15, c1, 0\n\t" | ||
308 | "mrc p15, 0, %0, c15, c1, 0\n\t" | ||
309 | "mov %0, %0\n\t" | ||
310 | "sub pc, pc, #4\n\t" | ||
311 | : "=r" (temp) ); | ||
312 | } | ||
313 | #endif | 286 | #endif |
314 | 287 | ||
315 | 288 | ||