From: Tomas Alvarez Vanoli <[email protected]>

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 <[email protected]>
Signed-off-by: Holger Brunck <[email protected]>
---
 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

Reply via email to