[PATCH 5/6] km: pg-wcom-ls102xa: call qrio deblock cfg earlier

Holger Brunck holger.brunck at hitachienergy.com
Mon Jul 14 15:22:20 CEST 2025


From: Tomas Alvarez Vanoli <tomas.alvarez-vanoli at hitachienergy.com>

Move the call to configure the qrio i2c deblock pins earlier.
Before this, the call was happening after the first attempt to deblock
the SDP EEPROM, which resulted in a not correct sequence.

Signed-off-by: Tomas Alvarez Vanoli <tomas.alvarez-vanoli at hitachienergy.com>
Signed-off-by: Holger Brunck <holger.brunck at hitachienergy.com>
---
 board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
index 409a55ebda6..7db75f4df3e 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
@@ -38,7 +38,7 @@ static uchar ivm_content[CONFIG_SYS_IVM_EEPROM_MAX_LEN];
 int checkboard(void)
 {
 	show_qrio();
-
+	i2c_deblock_gpio_cfg();
 	return 0;
 }
 
@@ -96,8 +96,6 @@ int board_early_init_f(void)
 	qrio_prstcfg(KM_DBG_ETH_RST, PRSTCFG_POWUP_UNIT_CORE_RST);
 	qrio_prst(KM_DBG_ETH_RST, !qrio_get_pgy_pres_pin(), false);
 
-	i2c_deblock_gpio_cfg();
-
 	/* enable the Unit LED (red) & Boot LED (on) */
 	qrio_set_leds();
 
-- 
2.49.0



More information about the U-Boot mailing list