Преглед изворни кода

imx: ventana: add delay before reading EEPROM

fixes: d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image")

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Tim Harvey пре 3 година
родитељ
комит
1afa31a41e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      board/gateworks/gw_ventana/eeprom.c

+ 1 - 0
board/gateworks/gw_ventana/eeprom.c

@@ -42,6 +42,7 @@ read_eeprom(int bus, struct ventana_board_info *info)
 	}
 
 	/* read eeprom config section */
+	mdelay(10);
 	if (gsc_i2c_read(GSC_EEPROM_ADDR, 0x00, 1, buf, sizeof(*info))) {
 		puts("EEPROM: Failed to read EEPROM\n");
 		return GW_UNKNOWN;