]> git.dujemihanovic.xyz Git - u-boot.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)
commit6496498a626dbde4d0ed96406e4efee9ff2ab0c0
tree1ecdcb40409b9014fbf6e0d4c5e7be99b5e8fdeb
parent27326c7ee269ff351bba8c2461e19f29d66b6a3a
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