commit | 494b968a143fce79ba190f8df63a98305ca00d4a | [log] [tgz] |
---|---|---|
author | Adam Ford <aford173@gmail.com> | Mon Aug 20 20:34:00 2018 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 11 21:39:02 2018 -0400 |
tree | 1cc8aa760aaab561354184f279bd525db137cae6 | |
parent | 49b777670e94b92416ab950c83194cf7054a283a [diff] |
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 <aford173@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>