diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2013-11-28 13:52:51 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-12-11 11:12:04 -0800 |
commit | c1015c67f4cb01bdd59642c912263cf62e70e8d1 (patch) | |
tree | 2e1c628a36aa35fa21ad35ad5f9bfe99bf7e0f0f /arch | |
parent | 4b210ad34282bfd9fc982a8e3c9a9126f4094cdb (diff) | |
download | u-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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/speed.c | 3 |
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; |