sh: always enable sh7724 vpu_clk and set to 166MHz on Ecovec
authorMagnus Damm <damm@opensource.se>
Fri, 19 Feb 2010 09:33:47 +0000 (09:33 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Feb 2010 10:11:23 +0000 (19:11 +0900)
commit6f26d19fce5907cdd0fd953ac1a1d0b1e6e5982c
tree0d4bc4a7bcdb0b5911807532478533f7fa2ebfbf
parent7be85c6eb4462cd973e680d9dcf897a7b5b26165
sh: always enable sh7724 vpu_clk and set to 166MHz on Ecovec

Update the sh7724 processor code to always enable vpu_clk.

On the Ecovec board, set the vpu_clk to 166 Mhz.

The 166MHz setting results in a divide-by-6 setup for
vpu_clk and improves the VPU performance compared to the
power-on-reset/bootloader configuration.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-ecovec24/setup.c
arch/sh/kernel/cpu/sh4a/clock-sh7724.c