public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ARM: mach-omap2: Don't initialize I2C if DM_I2C is enabled
Date: Tue, 18 Sep 2018 17:25:38 -0400	[thread overview]
Message-ID: <20180918212538.GM4642@opus> (raw)
In-Reply-To: <20180821013400.21030-1-aford173@gmail.com>

On Mon, Aug 20, 2018 at 08:34:00PM -0500, Adam Ford wrote:

> boot-common.c checks to see if I2C is enabled in SPL, but
> it doens't check for DM_I2C before initializing it.  This
> will now only initialize the I2C is the DM_I2C is not enabled
> to avoid initializing it more than once.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> 
> diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c
> index d4a1e2e42c..176d4f67cb 100644

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180918/44deb91a/attachment.sig>

      parent reply	other threads:[~2018-09-18 21:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21  1:34 [U-Boot] [PATCH] ARM: mach-omap2: Don't initialize I2C if DM_I2C is enabled Adam Ford
2018-08-23 10:45 ` Simon Glass
2018-09-18 21:25 ` Tom Rini [this message]

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=20180918212538.GM4642@opus \
    --to=trini@konsulko.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