]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/mpc85xx:Update FM1 clock select and shift for B4420
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Mon, 21 Apr 2014 05:17:41 +0000 (10:47 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:53 +0000 (17:58 -0700)
B4420 is a personality of B4860.
It should have same FM1_CLK_SEK and FM1_CLK_SHIFT as B4860

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/speed.c

index 2d6c668dce84019e1a606a829dbccacf49e77147..d516d4e4a627aa669281824815db01defb3c97d6 100644 (file)
@@ -163,8 +163,8 @@ void get_sys_info(sys_info_t *sys_info)
                sys_info->freq_processor[cpu] =
                         freq_c_pll[cplx_pll] / core_cplx_pll_div[c_pll_sel];
        }
-#if defined(CONFIG_PPC_B4860) || defined(CONFIG_PPC_T2080) || \
-       defined(CONFIG_PPC_T2081)
+#if defined(CONFIG_PPC_B4860) || defined(CONFIG_PPC_B4420) || \
+       defined(CONFIG_PPC_T2080) || defined(CONFIG_PPC_T2081)
 #define FM1_CLK_SEL    0xe0000000
 #define FM1_CLK_SHIFT  29
 #else