armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD
authorAshish Kumar <Ashish.Kumar@nxp.com>
Mon, 19 Feb 2018 08:44:52 +0000 (14:14 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 20 Mar 2018 15:26:02 +0000 (08:26 -0700)
get_board_ddr_clk(), get_board_sys_clk() and if_board_diff_clk() is
now available for SPL build.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1088a/ls1088a.c

index 56e454ff203df82dee86d9702cc8464e8664dc2b..161ea6dcb2b79657e80dfd511b08626f40c336ce 100644 (file)
@@ -168,6 +168,7 @@ int checkboard(void)
 
        return 0;
 }
+#endif
 
 bool if_board_diff_clk(void)
 {
@@ -221,7 +222,6 @@ unsigned long get_board_ddr_clk(void)
 
        return 66666666;
 }
-#endif
 
 int select_i2c_ch_pca9547(u8 ch)
 {