From: Ashish Kumar Date: Mon, 19 Feb 2018 08:44:52 +0000 (+0530) Subject: armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD X-Git-Tag: v2018.05-rc1~28^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d12b166a00aa54e256580ecf28e7a5dcf03fff5a;p=u-boot armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD get_board_ddr_clk(), get_board_sys_clk() and if_board_diff_clk() is now available for SPL build. Signed-off-by: Ashish Kumar Reviewed-by: York Sun --- diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 56e454ff20..161ea6dcb2 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -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) {