[U-Boot] [PATCH 4/7] Enable rkclk init function

eric.gao at rock-chips.com eric.gao at rock-chips.com
Sat Apr 1 14:42:54 UTC 2017


From: "eric.gao" <eric.gao at rock-chips.com>

Signed-off-by: eric.gao <eric.gao at rock-chips.com>
---

 drivers/clk/rockchip/clk_rk3399.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c
index 922ce7e..cfcd1e4 100644
--- a/drivers/clk/rockchip/clk_rk3399.c
+++ b/drivers/clk/rockchip/clk_rk3399.c
@@ -20,6 +20,10 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_SPL_BUILD
+#endif
+
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
 struct rk3399_clk_plat {
 	struct dtd_rockchip_rk3399_cru dtd;
-- 
1.9.1




More information about the U-Boot mailing list