From: Shaohui Xie Date: Thu, 28 Nov 2013 05:52:51 +0000 (+0800) Subject: powerpc/t4240: Add a frequency setting case for fman1 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c1015c67f4cb01bdd59642c912263cf62e70e8d1;p=u-boot.git powerpc/t4240: Add a frequency setting case for fman1 A new valid setting case added for fman1, it uses platform frequency. Signed-off-by: Shaohui Xie Acked-by: York Sun --- diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index 46ae80c4d8..7c7467f7bf 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -229,6 +229,9 @@ void get_sys_info(sys_info_t *sys_info) case 4: sys_info->freq_fman[1] = freq_c_pll[CONFIG_SYS_FM2_CLK + 1] / 4; break; + case 5: + sys_info->freq_fman[1] = sys_info->freq_systembus; + break; case 6: sys_info->freq_fman[1] = freq_c_pll[CONFIG_SYS_FM2_CLK] / 2; break;