diff options
Diffstat (limited to 'arch/arm/mach-omap2/sdrc.h')
-rw-r--r-- | arch/arm/mach-omap2/sdrc.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sdrc.h b/arch/arm/mach-omap2/sdrc.h index 48207b018989..12fc7dafec2b 100644 --- a/arch/arm/mach-omap2/sdrc.h +++ b/arch/arm/mach-omap2/sdrc.h | |||
@@ -56,4 +56,20 @@ static inline u32 sms_read_reg(u16 reg) | |||
56 | OMAP2_L3_IO_ADDRESS(OMAP343X_SDRC_BASE + (reg)) | 56 | OMAP2_L3_IO_ADDRESS(OMAP343X_SDRC_BASE + (reg)) |
57 | #endif /* __ASSEMBLER__ */ | 57 | #endif /* __ASSEMBLER__ */ |
58 | 58 | ||
59 | /* Minimum frequency that the SDRC DLL can lock at */ | ||
60 | #define MIN_SDRC_DLL_LOCK_FREQ 83000000 | ||
61 | |||
62 | /* Scale factor for fixed-point arith in omap3_core_dpll_m2_set_rate() */ | ||
63 | #define SDRC_MPURATE_SCALE 8 | ||
64 | |||
65 | /* 2^SDRC_MPURATE_BASE_SHIFT: MPU MHz that SDRC_MPURATE_LOOPS is defined for */ | ||
66 | #define SDRC_MPURATE_BASE_SHIFT 9 | ||
67 | |||
68 | /* | ||
69 | * SDRC_MPURATE_LOOPS: Number of MPU loops to execute at | ||
70 | * 2^MPURATE_BASE_SHIFT MHz for SDRC to stabilize | ||
71 | */ | ||
72 | #define SDRC_MPURATE_LOOPS 96 | ||
73 | |||
74 | |||
59 | #endif | 75 | #endif |