]> git.baikalelectronics.ru Git - uboot.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)
commit7380d170955096a0c19233e40951c456fd0816a4
tree26053e8c92a3b73cda341cb6bc86ec3429d119e5
parent840104819d918eae73d684bb8c37bc4b57beeb8d
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