diff options
Diffstat (limited to 'arch/arm/mach-omap2/sdrc.h')
-rw-r--r-- | arch/arm/mach-omap2/sdrc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/sdrc.h b/arch/arm/mach-omap2/sdrc.h index 446aa13511fd..645a2a46b213 100644 --- a/arch/arm/mach-omap2/sdrc.h +++ b/arch/arm/mach-omap2/sdrc.h | |||
@@ -31,24 +31,24 @@ extern void __iomem *omap2_sms_base; | |||
31 | 31 | ||
32 | static inline void sdrc_write_reg(u32 val, u16 reg) | 32 | static inline void sdrc_write_reg(u32 val, u16 reg) |
33 | { | 33 | { |
34 | __raw_writel(val, OMAP_SDRC_REGADDR(reg)); | 34 | writel_relaxed(val, OMAP_SDRC_REGADDR(reg)); |
35 | } | 35 | } |
36 | 36 | ||
37 | static inline u32 sdrc_read_reg(u16 reg) | 37 | static inline u32 sdrc_read_reg(u16 reg) |
38 | { | 38 | { |
39 | return __raw_readl(OMAP_SDRC_REGADDR(reg)); | 39 | return readl_relaxed(OMAP_SDRC_REGADDR(reg)); |
40 | } | 40 | } |
41 | 41 | ||
42 | /* SMS global register get/set */ | 42 | /* SMS global register get/set */ |
43 | 43 | ||
44 | static inline void sms_write_reg(u32 val, u16 reg) | 44 | static inline void sms_write_reg(u32 val, u16 reg) |
45 | { | 45 | { |
46 | __raw_writel(val, OMAP_SMS_REGADDR(reg)); | 46 | writel_relaxed(val, OMAP_SMS_REGADDR(reg)); |
47 | } | 47 | } |
48 | 48 | ||
49 | static inline u32 sms_read_reg(u16 reg) | 49 | static inline u32 sms_read_reg(u16 reg) |
50 | { | 50 | { |
51 | return __raw_readl(OMAP_SMS_REGADDR(reg)); | 51 | return readl_relaxed(OMAP_SMS_REGADDR(reg)); |
52 | } | 52 | } |
53 | 53 | ||
54 | extern void omap2_set_globals_sdrc(void __iomem *sdrc, void __iomem *sms); | 54 | extern void omap2_set_globals_sdrc(void __iomem *sdrc, void __iomem *sms); |