mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02: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:
committed by
Andy Fleming
parent
10d644b10d
commit
3e83fc9b4d
@@ -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 */
|
||||
|
Reference in New Issue
Block a user