* [U-Boot] [PATCH] powerpc/t4240: Add a frequency setting case for fman1
@ 2013-11-28 5:52 shh.xie at gmail.com
2013-12-11 19:16 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: shh.xie at gmail.com @ 2013-11-28 5:52 UTC (permalink / raw)
To: u-boot
From: Shaohui Xie <Shaohui.Xie@freescale.com>
A new valid setting case added for fman1, it uses platform frequency.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
---
based on patch: http://patchwork.ozlabs.org/patch/294663/
arch/powerpc/cpu/mpc85xx/speed.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c
index 6c862d8..0973261 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;
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-11 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 5:52 [U-Boot] [PATCH] powerpc/t4240: Add a frequency setting case for fman1 shh.xie at gmail.com
2013-12-11 19:16 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox