From: Ashish Kumar Date: Mon, 19 Feb 2018 08:44:53 +0000 (+0530) Subject: armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS X-Git-Tag: v2018.05-rc1~28^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=169d493bb7dd3fdcfb04d266e1492ddcf298b1df;p=u-boot armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS This function is required for enabling access to early i2c function for correct usage of QIXIS_READ and QIXIS_WRITE. Signed-off-by: Ashish Kumar Reviewed-by: York Sun --- diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 161ea6dcb2..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; }