u-boot-brain/arch/arm
Laurence Withers be7d257895 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>
2012-09-01 14:58:14 +02:00
..
cpu DaVinci DA8xx: fix set_cpu_clk_info() 2012-09-01 14:58:14 +02:00
dts tegra: fdt: Add keyboard controller definition 2012-05-15 08:31:40 +02:00
include/asm DaVinci DA8xx: replace magic number for DDR speed 2012-09-01 14:58:14 +02:00
lib ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency 2012-07-20 14:24:08 +02:00
config.mk Makefile: Add a 'checkthumb' rule 2012-05-15 08:31:26 +02:00