mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
4b210ad342
commit
c1015c67f4
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue