]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS
authorAshish Kumar <Ashish.Kumar@nxp.com>
Mon, 19 Feb 2018 08:44:53 +0000 (14:14 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 20 Mar 2018 15:26:52 +0000 (08:26 -0700)
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 <Ashish.Kumar@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1088a/ls1088a.c

index 161ea6dcb2b79657e80dfd511b08626f40c336ce..a5fa0509910fca768a782e37302a8a0006f12f82 100644 (file)
@@ -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;
 }