From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 18 Sep 2018 17:25:38 -0400 Subject: [U-Boot] ARM: mach-omap2: Don't initialize I2C if DM_I2C is enabled In-Reply-To: <20180821013400.21030-1-aford173@gmail.com> References: <20180821013400.21030-1-aford173@gmail.com> Message-ID: <20180918212538.GM4642@opus> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass > > 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: