diff options
author | Qianyu Gong <qianyu.gong@nxp.com> | 2016-06-13 11:20:31 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-06-28 12:08:43 -0700 |
commit | 581ff00bf7d276dadaa793aa1fc20b54d7b89e6a (patch) | |
tree | 52116e3d1183636ac376dab10d9e9c265b7b47b7 /board/freescale/ls1043aqds | |
parent | a2fd238e4923d0b0e10d4ca24ad6410244d8ea6c (diff) |
armv8: ls1043aqds: use configurable clock
Get the clocks from FPGA through I2C, if IFC is disabled.
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1043aqds')
-rw-r--r-- | board/freescale/ls1043aqds/ls1043aqds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c index 9447c93319a..b7e9c217277 100644 --- a/board/freescale/ls1043aqds/ls1043aqds.c +++ b/board/freescale/ls1043aqds/ls1043aqds.c @@ -230,6 +230,10 @@ int board_early_init_f(void) #ifdef CONFIG_LPUART u8 uart; #endif + +#ifdef CONFIG_SYS_I2C_EARLY_INIT + i2c_early_init_f(); +#endif fsl_lsch2_early_init_f(); #ifdef CONFIG_HAS_FSL_XHCI_USB |