]> Git Repo - u-boot.git/commit
ARM: mach-omap2: Don't initialize I2C if DM_I2C is enabled
authorAdam Ford <[email protected]>
Tue, 21 Aug 2018 01:34:00 +0000 (20:34 -0500)
committerTom Rini <[email protected]>
Wed, 12 Sep 2018 01:39:02 +0000 (21:39 -0400)
commit668146128aefc4c0e493056501092e90c85f1dd3
tree1cc8aa760aaab561354184f279bd525db137cae6
parent99571b41c6c21ccd3737971a51727e6f4d89126d
ARM: mach-omap2: Don't initialize I2C if DM_I2C is enabled

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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/arm/mach-omap2/boot-common.c
This page took 0.048956 seconds and 4 git commands to generate.