diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2013-03-25 07:33:25 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-14 16:13:24 -0500 |
commit | 3e83fc9b4d898e3e97a6079d103c1e3dc53ca5cc (patch) | |
tree | f7762614e33d595cd2bb46bbdf27adf89a2e5965 | |
parent | 10d644b10d35672fa8860756ce3339aac18d394f (diff) | |
download | u-boot-imx-3e83fc9b4d898e3e97a6079d103c1e3dc53ca5cc.zip u-boot-imx-3e83fc9b4d898e3e97a6079d103c1e3dc53ca5cc.tar.gz u-boot-imx-3e83fc9b4d898e3e97a6079d103c1e3dc53ca5cc.tar.bz2 |
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>
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/speed.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index 9fc7b54..f00b1ab 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -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 */ |