]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
km: pg-wcom-ls102xa: call qrio deblock cfg earlier
authorTomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>
Mon, 14 Jul 2025 13:22:20 +0000 (15:22 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 22 Jul 2025 19:53:03 +0000 (13:53 -0600)
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@hitachienergy.com>
Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c

index 409a55ebda6aefc125d1f4b17def76b24599609f..7db75f4df3e8d64e47d41393b988868331ac33c2 100644 (file)
@@ -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();