mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-07 17:57:38 +01:00
powerpc/85xx: add missing QMAN frequency calculation
When CONFIG_SYS_FSL_QORIQ_CHASSIS2 is not defined, QMAN frequency will not be initialized, and QMAN will have a wrong frequency display. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
10d644b10d
commit
3e83fc9b4d
1 changed files with 4 additions and 0 deletions
|
|
@ -293,6 +293,10 @@ void get_sys_info (sys_info_t * sysInfo)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_DPAA_QBMAN
|
||||
sysInfo->freqQMAN = sysInfo->freqSystemBus / 2;
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_SYS_FSL_QORIQ_CHASSIS2 */
|
||||
|
||||
#else /* CONFIG_FSL_CORENET */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue