projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b210ad
)
powerpc/t4240: Add a frequency setting case for fman1
author
Shaohui Xie
<Shaohui.Xie@freescale.com>
Thu, 28 Nov 2013 05:52:51 +0000
(13:52 +0800)
committer
York Sun
<yorksun@freescale.com>
Wed, 11 Dec 2013 19:12:04 +0000
(11:12 -0800)
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>
arch/powerpc/cpu/mpc85xx/speed.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/speed.c
b/arch/powerpc/cpu/mpc85xx/speed.c
index 46ae80c4d819b244de758d60a28a09cd6095d4a5..7c7467f7bfcb7e8cdff98bbf1c69e56ed9fd80cd 100644
(file)
--- 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;