diff options
author | Ryan Mallon <rmallon@gmail.com> | 2012-01-10 21:43:02 -0500 |
---|---|---|
committer | Ryan Mallon <rmallon@gmail.com> | 2012-03-13 20:43:06 -0400 |
commit | 999c53fb2200070bdb8923c1894f9e14a5ec2de3 (patch) | |
tree | dd8090b60020cd6629d36899780b9f87023c26f6 /arch/arm/mach-ep93xx/include | |
parent | 08932d81961b1c57870949d069ce2dad235da443 (diff) |
ep93xx: Make syscon access functions private to SoC
The syscon access functions are no longer used outside of the core
EP93xx code. Move their definitions into the SoC code.
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Reviewed-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
Diffstat (limited to 'arch/arm/mach-ep93xx/include')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/platform.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/platform.h b/arch/arm/mach-ep93xx/include/mach/platform.h index ad63d4be693f..602bd87fd0ab 100644 --- a/arch/arm/mach-ep93xx/include/mach/platform.h +++ b/arch/arm/mach-ep93xx/include/mach/platform.h | |||
@@ -21,20 +21,6 @@ struct ep93xx_eth_data | |||
21 | void ep93xx_map_io(void); | 21 | void ep93xx_map_io(void); |
22 | void ep93xx_init_irq(void); | 22 | void ep93xx_init_irq(void); |
23 | 23 | ||
24 | /* EP93xx System Controller software locked register write */ | ||
25 | void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg); | ||
26 | void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits); | ||
27 | |||
28 | static inline void ep93xx_devcfg_set_bits(unsigned int bits) | ||
29 | { | ||
30 | ep93xx_devcfg_set_clear(bits, 0x00); | ||
31 | } | ||
32 | |||
33 | static inline void ep93xx_devcfg_clear_bits(unsigned int bits) | ||
34 | { | ||
35 | ep93xx_devcfg_set_clear(0x00, bits); | ||
36 | } | ||
37 | |||
38 | #define EP93XX_CHIP_REV_D0 3 | 24 | #define EP93XX_CHIP_REV_D0 3 |
39 | #define EP93XX_CHIP_REV_D1 4 | 25 | #define EP93XX_CHIP_REV_D1 4 |
40 | #define EP93XX_CHIP_REV_E0 5 | 26 | #define EP93XX_CHIP_REV_E0 5 |