diff options
Diffstat (limited to 'firmware/target/arm/imx31/ccm-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/ccm-imx31.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/ccm-imx31.c b/firmware/target/arm/imx31/ccm-imx31.c index 272f00aca9..0d166e5dbf 100644 --- a/firmware/target/arm/imx31/ccm-imx31.c +++ b/firmware/target/arm/imx31/ccm-imx31.c | |||
@@ -49,9 +49,9 @@ void ccm_module_clock_gating(enum IMX31_CG_LIST cg, enum IMX31_CG_MODES mode) | |||
49 | unsigned int ccm_get_pll_ref_clk(void) | 49 | unsigned int ccm_get_pll_ref_clk(void) |
50 | { | 50 | { |
51 | if ((CCM_CCMR & (3 << 1)) == (1 << 1)) | 51 | if ((CCM_CCMR & (3 << 1)) == (1 << 1)) |
52 | return CONFIG_CLK32_FREQ * 1024; | 52 | return CONFIG_CKIL_FREQ * 1024; |
53 | else | 53 | else |
54 | return CONFIG_HCLK_FREQ; | 54 | return CONFIG_CKIH_FREQ; |
55 | } | 55 | } |
56 | 56 | ||
57 | /* Return PLL frequency in HZ */ | 57 | /* Return PLL frequency in HZ */ |