]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: fix default sys_ck.rate for boot-time DPLL detection
authorKevin Hilman <khilman@mvista.com>
Fri, 19 Oct 2007 21:14:15 +0000 (14:14 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Oct 2007 00:11:43 +0000 (17:11 -0700)
commit3e02c8300f5a7900e91bb6da219faa6cf27b64f7
tree9c73537470cd9846d945b1f295ebe2c4233abdeb
parent1fe2aa25c7ea9c5d11a90c3580d17c5a93ef5b84
ARM: OMAP: fix default sys_ck.rate for boot-time DPLL detection

In the clock init code, the DPLL value set by the bootloader is
queried, but always turns zero due it's parent clock (sys_ck) having
no default rate.  This results in the improper setting of the default
PRCM rate-table entry and any queries of virt_prcm_set rate to return 0.

Following the example of the TI kernel, set the default sys_ck rate to
13MHz.  Could then be overridden in board setup code.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.h