All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD
@ 2018-02-19  8:44 Ashish Kumar
  2018-02-19  8:44 ` [U-Boot] [PATCH 2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS Ashish Kumar
  2018-03-21 14:57 ` [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD York Sun
  0 siblings, 2 replies; 4+ messages in thread
From: Ashish Kumar @ 2018-02-19  8:44 UTC (permalink / raw)
  To: u-boot

get_board_ddr_clk(), get_board_sys_clk() and if_board_diff_clk() is now
valid for CONFIG_SPL_BUILD

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
---
 board/freescale/ls1088a/ls1088a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c
index 0769e90..16e7083 100644
--- a/board/freescale/ls1088a/ls1088a.c
+++ b/board/freescale/ls1088a/ls1088a.c
@@ -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)
 {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS
  2018-02-19  8:44 [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD Ashish Kumar
@ 2018-02-19  8:44 ` Ashish Kumar
  2018-03-21 14:58   ` York Sun
  2018-03-21 14:57 ` [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD York Sun
  1 sibling, 1 reply; 4+ messages in thread
From: Ashish Kumar @ 2018-02-19  8:44 UTC (permalink / raw)
  To: u-boot

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(+)

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;
 }
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD
  2018-02-19  8:44 [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD Ashish Kumar
  2018-02-19  8:44 ` [U-Boot] [PATCH 2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS Ashish Kumar
@ 2018-03-21 14:57 ` York Sun
  1 sibling, 0 replies; 4+ messages in thread
From: York Sun @ 2018-03-21 14:57 UTC (permalink / raw)
  To: u-boot

On 02/19/2018 12:44 AM, Ashish Kumar wrote:
> get_board_ddr_clk(), get_board_sys_clk() and if_board_diff_clk() is now
> valid for CONFIG_SPL_BUILD
> 
> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
> ---

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

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS
  2018-02-19  8:44 ` [U-Boot] [PATCH 2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS Ashish Kumar
@ 2018-03-21 14:58   ` York Sun
  0 siblings, 0 replies; 4+ messages in thread
From: York Sun @ 2018-03-21 14:58 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-21 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-19  8:44 [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD Ashish Kumar
2018-02-19  8:44 ` [U-Boot] [PATCH 2/2] armv8: ls1088a: Add i2c_early_init() func for LS1088AQDS Ashish Kumar
2018-03-21 14:58   ` York Sun
2018-03-21 14:57 ` [U-Boot] [PATCH 1/2] armv8: ls1088a: Add clock related function in CONFIG_SPL_BUILD York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.