diff options
Diffstat (limited to 'board/freescale/ls1088a/ls1088a.c')
-rw-r--r-- | board/freescale/ls1088a/ls1088a.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 56e454ff20..a5fa050991 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -31,6 +31,9 @@ DECLARE_GLOBAL_DATA_PTR; int board_early_init_f(void) { +#if defined(CONFIG_SYS_I2C_EARLY_INIT) && defined(CONFIG_TARGET_LS1088AQDS) + i2c_early_init_f(); +#endif fsl_lsch3_early_init_f(); return 0; } @@ -168,6 +171,7 @@ int checkboard(void) return 0; } +#endif bool if_board_diff_clk(void) { @@ -221,7 +225,6 @@ unsigned long get_board_ddr_clk(void) return 66666666; } -#endif int select_i2c_ch_pca9547(u8 ch) { |