rockchip: rk3188: Setup the armclk in spl
authorHeiko Stübner <heiko@sntech.de>
Mon, 20 Mar 2017 11:40:33 +0000 (12:40 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
commitf4f57c58b5899efbad2f0d9c9dd8d44b0619395e
treed39ef417455401e9e0406d22e95d2179ee28e508
parentf785357073be1563b2f668a1b4bb5847bfaa96f9
rockchip: rk3188: Setup the armclk in spl

The armclk starts in slow mode (24MHz) on the rk3188, which results in U-Boot
startup taking a lot of time (U-Boot itself, but also the rc4 decoding done
in the bootrom).

With default pmic settings we can always reach a safe frequency of 600MHz
which is also the frequency the proprietary loader left the armclk at,
without needing access to the systems pmic.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3188-board-spl.c