diff options
| author | Ashish Kumar <[email protected]> | 2018-02-19 14:14:53 +0530 |
|---|---|---|
| committer | York Sun <[email protected]> | 2018-03-20 08:26:52 -0700 |
| commit | 169d493bb7dd3fdcfb04d266e1492ddcf298b1df (patch) | |
| tree | 25748682c4b5a3c8a3578a59953bc62f62e0f197 | |
| parent | d12b166a00aa54e256580ecf28e7a5dcf03fff5a (diff) | |
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 <[email protected]>
Reviewed-by: York Sun <[email protected]>
| -rw-r--r-- | board/freescale/ls1088a/ls1088a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 161ea6dcb2b..a5fa0509910 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; } |
