summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankit Garg <pankit.garg@nxp.com>2018-01-16 06:26:02 (GMT)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2018-01-18 05:29:08 (GMT)
commita6932b4eeef41de15c92bf581235cfeb20bd42cc (patch)
treea44d4b83639970efd1acd86ab95ff112fbed991a
parentadc2721dff34b1b7dc8383d6eaca79a166f096fb (diff)
downloadu-boot-a6932b4eeef41de15c92bf581235cfeb20bd42cc.tar.xz
armv8: ls1088a: vid: Add some function in SPL for VID
Signed-off-by: Pankit Garg <pankit.garg@nxp.com>
-rw-r--r--board/freescale/ls1088a/ls1088a.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c
index 36e5bf1..88c07d1 100644
--- a/board/freescale/ls1088a/ls1088a.c
+++ b/board/freescale/ls1088a/ls1088a.c
@@ -211,6 +211,7 @@ unsigned long get_board_ddr_clk(void)
return 66666666;
}
+#endif
int select_i2c_ch_pca9547(u8 ch)
{
@@ -225,6 +226,7 @@ int select_i2c_ch_pca9547(u8 ch)
return 0;
}
+#if !defined(CONFIG_SPL_BUILD)
void board_retimer_init(void)
{
u8 reg;
@@ -326,6 +328,7 @@ int misc_init_r(void)
return 0;
}
#endif
+#endif
int i2c_multiplexer_select_vid_channel(u8 channel)
{
@@ -449,6 +452,7 @@ int init_func_vid(void)
}
#endif
+#if !defined(CONFIG_SPL_BUILD)
int board_init(void)
{
init_final_memctl_regs();