summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorRajesh Bhagat <rajesh.bhagat@nxp.com>2018-01-17 13:43:10 +0300
committerYork Sun <york.sun@nxp.com>2018-01-23 22:21:00 +0300
commit980d61a270963be0fe439273136b68c859fe3858 (patch)
treefb6628c3c35b2a769358dfc3eee250329eb7e3b2 /board/freescale
parentef0789b7c6444578561e3f333194660de944877e (diff)
downloadu-boot-980d61a270963be0fe439273136b68c859fe3858.tar.xz
armv8: ls1088a: vid: Compiling VID specific functions for SPL
Enables and compiles VID specific functions for SPL. Signed-off-by: Pankit Garg <pankit.garg@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale')
-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 188f76dcd2..0769e9069b 100644
--- a/board/freescale/ls1088a/ls1088a.c
+++ b/board/freescale/ls1088a/ls1088a.c
@@ -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();