]> 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>
Tue, 23 Oct 2007 00:33:58 +0000 (17:33 -0700)
commitf50b9fef9b94e4305941a5f28e44dbd042aa44d3
tree143dacd6f474a94bc4ab7866073da9f733cdc763
parent20e4ee33eab4cb9617101df1335b91d1780279b7
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.

Rather than setting a static sys_ck.rate, detect the correct value at
boot time.

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