u-boot/arch
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
..
arm DaVinci DA8xx: fix set_cpu_clk_info() 2012-09-01 14:58:14 +02:00
avr32 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
blackfin Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
m68k global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
microblaze global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
mips global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
nds32 nds32: fix unused pmu_init warning 2012-08-11 00:43:28 +08:00
nios2 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
openrisc openrisc: Work around potential relocation issues 2012-08-09 23:37:45 +02:00
powerpc Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
sandbox global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
sh sh: tmu: Removed arch/sh/include/asm/clk.h 2012-08-21 15:00:34 +09:00
sparc global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
x86 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00