]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3399: init CPU clock when rkclk_init()
authorKever Yang <kever.yang@rock-chips.com>
Thu, 12 Oct 2017 07:27:29 +0000 (15:27 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 1 Nov 2017 10:21:32 +0000 (11:21 +0100)
commit9f636a249c126b74e673e6d9592215f9b06c4f0b
tree26053e8c92a3b73cda341cb6bc86ec3429d119e5
parent6e278a8c1c28efc12668d2761cb2fb0264668da4
rockchip: rk3399: init CPU clock when rkclk_init()

Init the CPU and its buses to speed up the boot time.
Move rkclk_init() to a place after rk3399_configure_cpu has defined
at the same time, or else there will be a warning.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/clk/rockchip/clk_rk3399.c