Go to the documentation of this file. 1 #ifndef __ARCH_ARM_MACH_OMAP2_SDRC_H
2 #define __ARCH_ARM_MACH_OMAP2_SDRC_H
27 #define OMAP_SDRC_REGADDR(reg) (omap2_sdrc_base + (reg))
28 #define OMAP_SMS_REGADDR(reg) (omap2_sms_base + (reg))
44 static inline void sms_write_reg(
u32 val,
u16 reg)
49 static inline u32 sms_read_reg(
u16 reg)
54 #define OMAP242X_SDRC_REGADDR(reg) \
55 OMAP2_L3_IO_ADDRESS(OMAP2420_SDRC_BASE + (reg))
56 #define OMAP243X_SDRC_REGADDR(reg) \
57 OMAP2_L3_IO_ADDRESS(OMAP243X_SDRC_BASE + (reg))
58 #define OMAP34XX_SDRC_REGADDR(reg) \
59 OMAP2_L3_IO_ADDRESS(OMAP343X_SDRC_BASE + (reg))
63 #define MIN_SDRC_DLL_LOCK_FREQ 83000000
66 #define SDRC_MPURATE_SCALE 8
69 #define SDRC_MPURATE_BASE_SHIFT 9
75 #define SDRC_MPURATE_LOOPS 96