diff options
author | Laurence Withers <lwithers@guralp.com> | 2012-07-30 23:30:37 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:14 +0200 |
commit | be7d257895596f753e09fb7710524db5f6fd7c0b (patch) | |
tree | c3167e1d312f0714e3f4ecf9bfd8af168c940b0d /net | |
parent | de9d2e3d60dba1ab775ad67032b5afa00086f53f (diff) | |
download | u-boot-imx-be7d257895596f753e09fb7710524db5f6fd7c0b.zip u-boot-imx-be7d257895596f753e09fb7710524db5f6fd7c0b.tar.gz u-boot-imx-be7d257895596f753e09fb7710524db5f6fd7c0b.tar.bz2 |
DaVinci DA8xx: fix set_cpu_clk_info()
For the DA8xx family of SoCs, the set_cpu_clk_info() function was not
initialising the DSP frequency, leading to 'bdinfo' command output such as:
[...snip...]
ARM frequency = 300 MHz
DSP frequency = -536870913 MHz
DDR frequency = 300 MHz
This commit provides a separate implementation of set_cpu_clk_info() for
the DA8xx SoCs that initialises the DSP frequency to zero (since
currently the DSP is not enabled by U-Boot on any DA8xx platform). The
separate implementation is justified because there is no common code
between DA8xx and the other SoC families. It is now much easier to
understand the flow of the two separate functions.
Signed-off-by: Laurence Withers <lwithers@guralp.com>
Cc: Tom Rini <trini@ti.com>
Cc: Hadli, Manjunath <manjunath.hadli@ti.com>
Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions