]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: clk: rk3288: limit gpll and cpll init to SPL build
authorHeiko Stübner <heiko@sntech.de>
Sat, 18 Feb 2017 18:46:22 +0000 (19:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:44 +0000 (16:03 -0600)
commit35ec504b9935e12232265fe963abbee4a9fde943
tree1ecdcb40409b9014fbf6e0d4c5e7be99b5e8fdeb
parent7081f39e86f5a719c12bd2a55c6a056af0116b84
rockchip: clk: rk3288: limit gpll and cpll init to SPL build

The gpll and cpll init values are only used in rk_clk_init in the SPL
and therefore produce compile time warnings in regular uboot builds.
Fix that with an #ifdef.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
Added rockchip tag:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/clk/rockchip/clk_rk3288.c