]> Git Repo - J-u-boot.git/commitdiff
armv8: ls1088a: vid: Compiling VID specific functions for SPL
authorRajesh Bhagat <[email protected]>
Wed, 17 Jan 2018 10:43:10 +0000 (16:13 +0530)
committerYork Sun <[email protected]>
Tue, 23 Jan 2018 19:21:00 +0000 (11:21 -0800)
Enables and compiles VID specific functions for SPL.

Signed-off-by: Pankit Garg <[email protected]>
Signed-off-by: Rajesh Bhagat <[email protected]>
Reviewed-by: York Sun <[email protected]>
board/freescale/ls1088a/ls1088a.c

index 188f76dcd2f53232f0df81228867f5eebe6af17c..0769e9069b2bd74d314a7d4f729e96cd6d335326 100644 (file)
@@ -221,6 +221,7 @@ unsigned long get_board_ddr_clk(void)
 
        return 66666666;
 }
+#endif
 
 int select_i2c_ch_pca9547(u8 ch)
 {
@@ -235,6 +236,7 @@ int select_i2c_ch_pca9547(u8 ch)
        return 0;
 }
 
+#if !defined(CONFIG_SPL_BUILD)
 void board_retimer_init(void)
 {
        u8 reg;
@@ -336,6 +338,7 @@ int misc_init_r(void)
        return 0;
 }
 #endif
+#endif
 
 int i2c_multiplexer_select_vid_channel(u8 channel)
 {
@@ -450,6 +453,7 @@ exit:
        return ret;
 }
 
+#if !defined(CONFIG_SPL_BUILD)
 int board_init(void)
 {
        init_final_memctl_regs();
This page took 0.033821 seconds and 4 git commands to generate.