summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2013-11-28 13:52:51 +0800
committerYork Sun <yorksun@freescale.com>2013-12-11 11:12:04 -0800
commitc1015c67f4cb01bdd59642c912263cf62e70e8d1 (patch)
tree2e1c628a36aa35fa21ad35ad5f9bfe99bf7e0f0f
parent4b210ad34282bfd9fc982a8e3c9a9126f4094cdb (diff)
downloadu-boot-imx-c1015c67f4cb01bdd59642c912263cf62e70e8d1.zip
u-boot-imx-c1015c67f4cb01bdd59642c912263cf62e70e8d1.tar.gz
u-boot-imx-c1015c67f4cb01bdd59642c912263cf62e70e8d1.tar.bz2
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 <Shaohui.Xie@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
-rw-r--r--arch/powerpc/cpu/mpc85xx/speed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c
index 46ae80c..7c7467f 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;