diff mbox series

[U-Boot,2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS

Message ID 1519029893-6003-2-git-send-email-Ashish.Kumar@nxp.com
State Accepted
Commit 169d493bb7dd3fdcfb04d266e1492ddcf298b1df
Delegated to: York Sun
Headers show
Series [U-Boot,1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD | expand

Commit Message

Ashish Kumar Feb. 19, 2018, 8:44 a.m. UTC
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>
---
 board/freescale/ls1088a/ls1088a.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

York Sun March 21, 2018, 2:58 p.m. UTC | #1
On 02/19/2018 12:44 AM, Ashish Kumar wrote:
> 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>
> ---

Minor change to commit message.
Applied to fsl-qoriq master. Thanks.

York
diff mbox series

Patch

diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c
index 16e7083..618239b 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;
 }