armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD
PATCH 1/2 armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD
get_board_ddr_clk(), get_board_sys_clk() and if_board_diff_clk() is now valid for CONFIG_SPL_BUILD
--- board/freescale/ls1088a/ls1088a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/ls1088a/ls1088a.c +1 -1
@@ -168,6 +168,7 @@ int checkboard(void) return 0; } +#endif bool if_board_diff_clk (void ) {
@@ -221,7 +222,6 @@ unsigned long get_board_ddr_clk(void)return 66666666 ; } -#endif int select_i2c_ch_pca9547 (u8 ch) {
Signature · 1 line
2.7.4
PATCH 2/2 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
--- board/freescale/ls1088a/ls1088a.c | 3 +++ 1 file changed, 3 insertions(+)
board/freescale/ls1088a/ls1088a.c +3 -0
@@ -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 ; }
Signature · 1 line
2.7.4
PATCH 2/2 armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS
Quoted 6 lines · Ashish Kumar
This function is required for enabling access to early i2c function for correct usage of
QIXIS_READandQIXIS_WRITESigned-off-by Ashish Kumar <[email protected]>---
Minor change to commit message.
Applied to fsl-qoriq master. Thanks.
York
PATCH 1/2 armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD
In reply to Ashish KumarQuoted 5 lines · Ashish Kumar
get_board_ddr_clk(),get_board_sys_clk()andif_board_diff_clk()is now valid forCONFIG_SPL_BUILDSigned-off-by Ashish Kumar <[email protected]>---
Minor change to commit message.
Applied to fsl-qoriq master. Thanks.
York