diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-15 08:27:34 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-02-23 08:57:58 -0500 |
commit | 8c428b8d3316faa88cae80473bb67565561fb446 (patch) | |
tree | c9e0b3d3a51c617b9171388e93711004de5c4947 /arch | |
parent | b3af8b49befdcc53cb5d89e57662c359bc0b6989 (diff) |
ARM: at91: finally drop at91_sys_read/write
Remove at91_sys_read/write() from io.h file. This function
is not used anymore and was a stopper on the way to single
zImage kernel for AT91.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/include/mach/io.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-at91/include/mach/io.h b/arch/arm/mach-at91/include/mach/io.h index 4ca09ef7ca29..4003001eca3d 100644 --- a/arch/arm/mach-at91/include/mach/io.h +++ b/arch/arm/mach-at91/include/mach/io.h | |||
@@ -28,22 +28,4 @@ | |||
28 | #define __io(a) __typesafe_io(a) | 28 | #define __io(a) __typesafe_io(a) |
29 | #define __mem_pci(a) (a) | 29 | #define __mem_pci(a) (a) |
30 | 30 | ||
31 | #ifndef __ASSEMBLY__ | ||
32 | |||
33 | static inline unsigned int at91_sys_read(unsigned int reg_offset) | ||
34 | { | ||
35 | void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS; | ||
36 | |||
37 | return __raw_readl(addr + reg_offset); | ||
38 | } | ||
39 | |||
40 | static inline void at91_sys_write(unsigned int reg_offset, unsigned long value) | ||
41 | { | ||
42 | void __iomem *addr = (void __iomem *)AT91_VA_BASE_SYS; | ||
43 | |||
44 | __raw_writel(value, addr + reg_offset); | ||
45 | } | ||
46 | |||
47 | #endif | ||
48 | |||
49 | #endif | 31 | #endif |