public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tim Harvey <tharvey@gateworks.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/2] imx: ventana: add delay before reading EEPROM
Date: Fri, 16 Apr 2021 15:05:59 -0700	[thread overview]
Message-ID: <20210416220600.16178-1-tharvey@gateworks.com> (raw)

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

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 board/gateworks/gw_ventana/eeprom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c
index a5a151d85b..b9862c7dfc 100644
--- a/board/gateworks/gw_ventana/eeprom.c
+++ b/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;
-- 
2.17.1

             reply	other threads:[~2021-04-16 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16 22:05 Tim Harvey [this message]
2021-04-16 22:06 ` [PATCH 2/2] arm: dts: imx6qdl-gw552x.dtsi: fix VBUS supply Tim Harvey
2021-05-02 11:42   ` stefano.babic at babic.homelinux.org
2021-05-02 11:43 ` [PATCH 1/2] imx: ventana: add delay before reading EEPROM stefano.babic at babic.homelinux.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210416220600.16178-1-tharvey@gateworks.com \
    --to=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox